Part Number Hot Search : 
AN1775 LT1508 LDS6003 SAA7121 2825A 93LC86 UC2842BD EPC3196
Product Description
Full Text Search
 

To Download ISD5216SY Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ISD5216
8 to 16 minutes voice record/playback device with integrated codec
-1-
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
1. GENERAL DESCRIPTION
The ChipCorder ISD5216 is an 8 to 16 minute Voice and Data Record and Playback system with integrated Voice band CODEC. The device works on a single 2.7V to 3.3V supply, and has fully integrated system functions, including: AGC, microphone preamplifier, speaker driver, memory and CODEC. The CODEC meets the PCM conformance specification of the G.714 recommendation. Its Law and A-Law compander meets the specification of the ITU-T G.711 recommendation.
2. FEATURES
* * * * * * * * * * *
Single Supply 2.7 to 3.3 Volt operation Voice and digital data record and playback system on a single chip Industry-leading sound quality Low voltage operation Message management Fully integrated system functions Flexible architecture Nonvolatile message storage Configurable ChipCorder sampling rates of 4 kHz, 5.3kHz, 6.4 kHz and 8kHz 8, 10, 12 and 16 minutes duration External or internal Voice recorder clock serial interface (400kHz) Configurable analog paths 2.2V Microphone Bias Pin 100 year message retention (typical) 100K analog record cycles (typical) 10K digital record cycles (typical) Full-duplex (not in I2S mode) single channel speech CODEC with: o External 13.824 MHz, 27.648 MHz, 20.48 MHz or 40.96 MHz master clock 2S and PCM digital audio interface ports oI o Serial transfer data rate from 64 to 3072 Kbps o Short and Long frame sync formats o 2s complement and signed magnitude data format o Complete -Law and A-Law companding o Linear 14 bit PCM CODEC-filter for A/D and D/A converter o 8 kHz or 44.1 kHz - 48 kHz digital audio sampling rate options o Analog receive and transmit gain adjust o Configurable setup through the I2C interface
* I2C * * * * * *
-2-
ISD5216
3. BLOCK DIAGRAM
I5216 Block Diagram
MICBS
MICROPHONE 2.2V Voltage reference
(AGPD)
1
MIC+ MIC AGCCAP
MIC IN
INP SUM1 MUX
AGC
(AGPD) AUX IN
1
2
SUM1 Summing AMP SUM1 ARRAY
SUM1 FILTO AUX IN
2
Input Source MUX
Auto mute Auto gain
1
Low Pass Filter
1
( S1M0 ) S1M1
FILTO
SUM2 Summing AMP
Filter MUX
1 (FLS0)
(AMT0)
(FLPD)
( S2M0) S2M1
1.0 / 1.4 / 2.0 / 2.8
SUM1 MUX
AUX IN
AUX IN AMP
(INS0) (AXPD)
1
1
ARRAY
Internal Clock
DAO
2
( AXG0) AXG1
/2
1 (CKD2)
( OSPD) 2 ( FLD0 ) CKDV FLD1
SUM2
(ANALOG)
Multilevel Storage Array
2
2
MCLK
MIC+ MIC-
( S1S0 ) S1S1
ARRAY OUT
(ANALOG)
2 x 64 S/H
Array I/O Mux Program/Read Control
FILTO
AUX OUT AMP
AUX OUT
Output MUX
CTRL
(DIGITAL)
A/D
2 x 64-bit reg.
SUM2 VOL
ARRAY OUT
(DIGITAL)
SPEAKER
Spkr. AMP
SP+ SP-
DAO
INP
SUM2
SUM1 INP DAO SUM2
CODEC Mux
Volume Control
1 (VLPD)
3
()
CDI0 CDI1
2
()
VOL0 VOL1 VOL2
( OPS0 ) OPS1
2
(
OPA0 OPA1
2
)
Vol MUX
2
-Law / A-Law / Linear 14 bit CODEC
( VLS0 ) VLS1
(ADPD) DAPD
2
Power Conditioning
PCM / I2S Interface
Device Control
VCCA
VSSA
VSSA
VSSD
VSSD
VCCD
VCCD
WS
SCK
SDIO
SDI
SCL
SDA
INT
RAC
A0
A1
5/22/01
-3-
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
4. TABLE OF CONTENTS
1. GENERAL DESCRIPTION ......................................................................................................... 2 2. FEATURES ................................................................................................................................. 2 3. BLOCK DIAGRAM ...................................................................................................................... 3 4. TABLE OF CONTENTS .............................................................................................................. 4 5. PIN CONFIGURATION ............................................................................................................... 7 6. PIN DESCRIPTION..................................................................................................................... 8 7. FUNCTIONAL DESCRIPTION.................................................................................................... 9 7.1. MEMORY ORGANIZATION...............................................................................................11 7.2. CODEC............................................................................................................................... 11 7.2.1. Analog Input to Digital Output Path ..........................................................................12 7.2.2. Digital Input to Analog Output Path ..........................................................................13 7.2.3. CODEC External Clock Configuration ......................................................................13 7.2.4. ChipCorder Analog Array Sampling Frequency With External Clock....................... 14 7.3. I2C INTERFACE .................................................................................................................15 7.3.1. System configuration ................................................................................................15 7.3.2. Start and stop conditions ..........................................................................................15 7.3.3. Bit transfer................................................................................................................. 16 7.3.4. ACKNOWLEDGE .....................................................................................................16 7.3.5. Additional ISD5216 flow control................................................................................17 7.3.6. I2C Protocol Addressing............................................................................................17 7.3.7. I2C Slave Address.....................................................................................................19 7.4. I2S SERIAL INTERFACE...................................................................................................20 7.4.1. Serial Data ................................................................................................................ 20 7.4.2. Word Select .............................................................................................................. 21 7.4.3. Timing ....................................................................................................................... 21 7.5. CONTROL REGISTERS ....................................................................................................22 7.5.1. Command Byte .........................................................................................................22 7.5.2. Function Bits ............................................................................................................. 23 7.5.3. Register Bits.............................................................................................................. 23 7.5.4. OPCODE Command Byte Table ..............................................................................24 7.5.5. Power-up................................................................................................................... 25 7.5.6. Read Status .............................................................................................................. 25 7.5.7. Attaching an Address to a Command.......................................................................25 7.5.8. Playback Mode .........................................................................................................26 7.5.9. Record Mode ............................................................................................................26 -4-
ISD5216
7.5.10. Message Cueing.....................................................................................................26 7.6. digital mode ........................................................................................................................ 26 7.6.1. Writing Data .............................................................................................................. 26 7.6.2. Reading Data ............................................................................................................26 7.6.3. Erasing Data ............................................................................................................. 27 7.6.4. Load Configuration Registers ...................................................................................27 7.7. ISD5216 ANALOG STRUCTURE (Left Half) description ..................................................31 7.7.1 Speaker, AUX OUT and Volume Control Description ...............................................33 7.7.2. Microphone and Auxiliary Inputs ..............................................................................34 7.7.3. CODEC Configuration (First Page) ..........................................................................35 7.8. PIN DETAILS...................................................................................................................... 37 7.8.1. Power and Ground Pins............................................................................................37 7.8.2. Digital I/O Pins: ......................................................................................................... 37 7.8.3. CODEC Iinterface Pincs ...........................................................................................39 7.8.4. ANALOG I/O PINS....................................................................................................39 7.9. AUTO MUTE AND AUTO GAIN FUNCTIONS ..................................................................41 7.10 PROGRAMMING THE ISD 5216 ......................................................................................41 7.10 PROGRAMMING THE ISD 5216 ......................................................................................42 7.10.1. Sending a byte on the I2C interface .......................................................................42 7.10.2. POWER-UP SEQUENCE.......................................................................................42 7.10.3. Read Status command ...........................................................................................42 7.10.4. Load Command Byte Register (Single Byte Load):................................................ 43 7.10.5. Load Command Byte Register (Address Load):.....................................................43 7.10.6. Digital Erase............................................................................................................ 44 7.10.7. Digital Write............................................................................................................. 45 7.10.8. Digital Read ............................................................................................................ 45 7.10.9. Feed Through Mode ...............................................................................................45 7.10.10. Call Record ...........................................................................................................48 7.10.11. Memo Record .......................................................................................................49 7.10.12. Memo and Call Playback ......................................................................................50 7.11. SAMPLE PC LAYOUT FOR PDIP ...................................................................................51 8. TIMING DIAGRAMS.................................................................................................................. 52 9. ABSOLUTE MAXIMUM RATINGS............................................................................................ 60 10. ELECTRICAL CHARACTERISTICS....................................................................................... 61 11. TYPICAL APPLICATION CIRCUIT......................................................................................... 67
-5-
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
12. PACKAGE SPECIFICATIONG ............................................................................................... 70 12.1. PLASTIC THIN SMALL OUTLINE PACKAGE (TSOP) TYPE E DIMENSIONS.............. 70 12.2. Plastic Small Outline Integrated Circuit (SOIC) DIMENSIONS .......................................71 12.3. Plastic Dual Inline Package (PDIP) Dimensions..............................................................72 13. ORDERING INFORMATION................................................................................................... 73 14. VERSION HISTORY ............................................................................................................... 74
-6-
ISD5216
5. PIN CONFIGURATION
V
CCD SCL A1 SDA
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 27 26 25 24 23
V
CCD
MCLK INT RAC SDIO V SSA
V V
SSD SSD A0
ISD5216
22 21 20 19 18 17 16 15
SDI NC AUXOUT SCK WS AUX IN V CCA
MICBS
ISD5216
V
MICMIC+ SSA
ACAP SPV
TSOP
SSA
SP+
SOIC
VCCD SCL A1 SDA A0 VSSD VSSD VSSA MICMIC+ MICBS ACAP SPVSSA
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 27 26 25 24 23
VCCD MCLK INT RAC SDIO SDI VSSA WS SCK NC AUXOUT AUX IN VCCA SP+
ISD5216
22 21 20 19 18 17 16 15
PDIP
Please note that the pin assignments are different for the PDIP and the SOIC packages.
-7-
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
6. PIN DESCRIPTION
Pin Name Pin No. 28-pin TSOP 4 Pin No. 28-pin PDIP 25 Pin No. 28-pin SOIC 25 Functionality
RAC
Row Address Clock; an open drain output. The RAC pin goes LOW TRACLO 1 before the end of each row of memory, and returns HIGH at exactly the end of each row of memory. Interrupt Output; an open drain output indicating that a set EOM bit has been found during Playback, or that the chip is in an Overflow (OVF) condition. This pin remains LOW until a Read Status command is executed. This pin allows the internal clock of the Voice record/playback system to be externally driven for enhanced timing precision. This pin is grounded for most applications. It is required for the CODEC operation. Serial Clock Line is part of the I2C serial bus. It is used to clock the data into and out of the I2C interface. Serial Data Line is part of the I2C serial bus. Data is passed between devices on the bus over this line. Input pin that supplies the LSB for the I2C Slave Address. Input pin that supplies the LSB +1 bit for the I2C Slave Address. Differential positive Input to the microphone amplifier. Differential negative Input to the microphone amplifier. Microphone Bias Voltage AGC Capacitor connection. Required for the on-chip AGC amplifier. Differential Positive Speaker Driver Output. Differential Negative Speaker Driver Output. When the speaker outputs are in use, the AUX OUT output is disabled. Auxiliary Input. Auxiliary Output. This is one the analog outputs for the device. When this output is in use, the SP+ and SP- outputs are disabled. Serial Digital Audio PCM Input. Serial Digital Audio PCM Output or I2S Input/Output. Digital audio PCM Frame sync (FS) or I2S Word Sync (WS). Digital audio PCM or I2S Serial Clock. Positive Digital Supply pins. These pins carry noise generated by internal clocks in the chip. They must be carefully bypassed to Digital Ground to ensure correct device operation. Digital Ground pins. Analog Ground pins. Positive Analog Supply pin. This pin supplies the low level audio sections for the device. It should be carefully bypassed to Analog Ground to ensure correct device operation. No Connection
INT
5
26
26
MCLK
6
27
27
SCL SDA A0 A1 MIC+ MICMICBS ACAP SP+ SPAUX IN AUX OUT SDI SDIO WS SCK VCCD
9 11 12 10 16 17 18 19 22 20 24 25 2 3 28 27 7,8
2 4 5 3 9 10 11 12 15 13 17 18 23 24 21 20 1,28
2 4 7 3 10 9 8 12 15 13 17 20 22 24 18 19 1,28
VSSD VSSA VCCA
13,14 1,15,21 23
6,7 8,14,22 16
5,6 11,14,23 16
NC
26
19
21
1
See parameters section of the datasheet. -8-
ISD5216
7. FUNCTIONAL DESCRIPTION
The ISD5216 ChipCorder Product provides high quality, fully integrated, single-chip Record/Playback solutions for 8- to 16-minute messaging applications that are ideal for use in PBX systems, cellular phones, automotive communications, GPS/navigation systems, and other portable products. The ISD5216 product is an enhancement to the ISD5116 architecture, providing: 1) A full-duplex Voice CODEC with -Law and A-Law compander using the I2S and PCM interface ports; 2) A 2.2V microphone bias supply for reduced noise coupling. This supply can also be used to power down the external microphone with the system. Analog functions and audio gating have also been integrated into the ISD5216 product to allow for easy interfacing with integrated chip sets on the market. Audio paths have been designed to enable full duplex conversation record, voice memo and answering machine (including outgoing message playback). Logic Interface Options of 2.0V and 3.0V are supported by the ISD5216 to accommodate both portable communication (2.0- and 3.0-volt required) and automotive product customers (5.0-volt required). Like other ChipCorder products, the ISD5216 integrates the sampling clock, anti-aliasing and smoothing filters, and multi-level storage array on a single chip. For enhanced voice features, the ISD5216 eliminates external circuitry by integrating automatic gain control (AGC), a power amplifier/speaker driver, volume control, summing amplifiers, analog switches, and a Voice CODEC. Input level adjustable amplifiers are also included, providing a flexible interface for multiple applications. Recordings are stored in on-chip nonvolatile memory cells, providing zero-power message storage. This unique, single-chip solution is made possible through Winbond's patented multilevel storage technology. Voice and audio signals are stored directly into solid-state memory in their natural, uncompressed form, providing superior quality voice and music reproduction.
SPEECH/SOUND QUALITY
The ISD5216 ChipCorder product can be software configured to operate at 4.0, 5.3, 6.4, and 8.0 kHz sampling frequencies, allowing the user a choice of speech quality options. Increasing the duration decreases the sampling frequency and bandwidth, which affects sound quality. The "Input Sample Duration" table below compares filter pass band and product durations.
DURATION
To meet end-system requirements, the ISD5216 device is a single-chip solution, which provides 8 to 16 minutes of voice record and playback, depending on the sample rates defined by the customer's software.
Input Sample Rate to Duration Input Sample
Rate (kHz) 8.0 6.4 5.3 4.0
Duration1 (Minutes) 8 min 3 sec 10 min 4 sec 12 min 9 sec 16 min 6 sec
Typical Filter Pass Band (kHz) 3.7 2.9 2.5 1.8
-9-
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
1.
Minus any pages selected for digital storage
FLASH STORAGE
One of the benefits of Winbond's ChipCorder technology is the use of on-chip nonvolatile memory, which provides zero-power message storage. A message is retained for up to 100 years (typically) without power. In addition, the device can be re-recorded over 10,000 times (typically) for digital messages and over 100,000 times (typically) for analog messages. Memory space can be allocated to either digital or analog storage, when recording. The system micro controller stores this information in the Message Address Table.
MICROCONTROLLER INTERFACE
The ISD5216 is controlled through an I2C 2-wire interface. This synchronous serial port allows commands, configurations, address data, and digital data to be loaded to the device, while allowing status, digital data and current address information to be read back from the device. In addition to the serial interface, two other pins can be connected to the microcontroller for enhanced interface: the RAC timing pin and the INT pin for interrupts to the controller. Communications with all of the internal registers is through the serial bus, as well as digital memory Read and Write operations.
PROGRAMMING
The ISD5216 series is also ideal for playback-only applications, whereas single or multiple messages may be played back when desired. Playback is controlled through the I2C port. Once the desired message configuration is created, duplicates can easily be generated via a Winbond or third-party programmer. For more information on available application tools and programmers, please see the Winbond web site at http://www.winbond-usa.com/.
AUDIO PATHS
The ISD5216 has extremely powerful audio routing functionality where all audio signals can be routed and multiplexed to multiple destinations. A few examples are Simultaneous recording of microphone input and CODEC DAC output for recording both parties of a phone call.
- 10 -
ISD5216
7.1. MEMORY ORGANIZATION The ISD5216 memory array is arranged as 1888 rows (or pages) of 2048 bits, for a total memory of 3,866,624 bits. The primary addressing for the 2048 pages is handled by 11 bits of address data in the analog mode. At the 8 kHz sample rate, each page contains 256 milliseconds of audio. Thus, at 8 kHz there is actually room for 8 minutes and 3 seconds of audio. A memory page is 2048 bits organized as thirty-two 64-bit "blocks" when used for digital storage. The contents of a page are either analog or digital. This is determined by instruction (op code) at the time the data is written. A record of what is analog and what is digital, and where, is stored by the system microcontroller in the message address table (MAT). The MAT is a table kept in the microcontroller memory that defines the status of each message "block." It can be stored back into the ISD5216 if the power fails or the system is turned off. Use of this table allows for efficient message management. Segments of messages can be stored wherever there is available space in the memory array. When a page is used for analog storage, the same 32 blocks are present, but there are 8 EOM (Endof-Message) markers. This means that for each 4 blocks there is an EOM marker at the end. Thus, when recording, the analog recording will stop at any one of eight positions. At 8 kHz, this results in a resolution of 32 msec when ENDING an analog recording. Beginning an analog recording is limited to the 256 msec resolution provided by the 11-bit address. A recording does not immediately stop when the Stop command is issued, but continues until the 32-millisecond block is filled. Then a bit is placed into the EOM memory to develop the interrupt that signals a message is finished playing in the Playback mode.
2 Digital data is sent and received, serially, over the I C interface. The data is serial-to-parallel converted and stored in one of two alternating (commutating) 64-bit shift registers. When an input register is full, it becomes the register that is parallel written into the array. The prior write register becomes the new serial input register. A mechanism is built in to ensure there is always a register available for storing new data.
Storing data in the memory is accomplished by accepting data, one byte at a time, and issuing an acknowledgement. If data is coming in faster than it can be written, then the chip will not issue an acknowledgement to the host microcontroller until it is ready. The read mode is the opposite of the write mode. Data is read into one of two 64-bit registers from the array and serially sent to the I2C port. (See Digital Mode on page 26 for details). 7.2. CODEC The CODEC built into the ISD5216 supports both the I2S and PCM digital interface using -Law and A-Law companding as well as 2's complement and signed magnitude data. The CODEC meets the PCM conformance specification of the G.714 recommendation. Its -Law and A-Law compander meets the specification of the ITU-T G.711 recommendation. The CODEC operates in full duplex in PCM mode and half duplex in I2S mode. Operating the CODEC requires an external master clock running at 13.824 MHz, 20.48 MHz, 27.648 MHz or 40.96 MHz. This provides a sampling frequency ranging from 8kHz to 48kHz.
- 11 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
The following diagram shows the functional blocks in the CODEC:
7.2.1. Analog Input to Digital Output Path A 200 kHz anti-aliasing filter processes the analog input signal before entering the amplifier for the A/D converter. The gain of this amplifier is adjustable through the configuration registers bits (CIG2 - CIG0) for a gain from 0.80 to 2.00. The Sigma Delta modulator is a Linear 14 bit modulator running at a sampling frequency determined by the external clock input and the internal clock dividers (CKD2, CKDV). The standard telecom frequency of 8kHz and digital audio of 44.1kHz and 48 kHz as well as intermediate frequencies as shown in the table on the next page are supported. The A/D converter can be turned off to save power and reduce noise by setting the A/D power down bit (ADPD). The A/D converter feeds a 3.4 kHz digital anti aliasing filter which can be muted to suppress noise, the mute bit controls both the A/D and D/A filter simultaneously. The following high pass filter is enabled by bit (HPF0) in the configuration register. The High Sampling Rate bit (HSR0) needs to be set to enable operation at 44.1kHz - 48 kHz. The digital audio signal can be companded using - Law and A-Law companding or go to the output uncompressed using 2's complement or signed magnitude output selected with bits (LAW1 - LAW0) in the configuration registers.
2 Finally the digital output interface is selected to be either full-duplex PCM or half duplex I S using the 2 interface selector bit (I S0) in the configuration register. The PCM interface uses the SDIO and SDI pins, the half-duplex I2S format uses the SDIO pin as both input and output.
- 12 -
ISD5216
7.2.2. Digital Input to Analog Output Path The digital input interface must be selected to either PCM or I2S using the interface selector bit (I2S0) in the configuration register. The compression format must also be selected with bits (LAW1 - LAW0) in the configuration registers. The external clock input signal on pin MCLK and the internal clock dividers must be set to values supporting the selected digital input signal. The digital smoothing and interpolation filter runs at 3.4 kHz and feeds the D/A converter that can be switched off to conserve power and reduce noise using the D/A power down bit (DAPD). The analog output amplifier gain is controlled from configuration registers bits (COG2 - COG0) from 8 dB to +6 dB.
7.2.3. CODEC External Clock Configuration The ISD5216 has two Master Clock configuration bits that allow four possible Master Clock frequencies. Bits CKD2 and CKDV set the Master Clock Division ratios. These are bits D12 and D8 of CFG2, respectively. The combination of these bits, with the sample rate bit HSR0, also set the CODEC sample frequency as shown in the following table. Master Clock Possible Settings FMCLK 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz *not tested HSR0 (D5) (CFG2) 0 0 0 0 1 1 1 1 CKD2 (D12) (CFG2) 0 0 1 1 0 0 1 1 CKDV (D8) (CFG2) 0 1 0 1 0 1 0 1 FSCODEC 8 kHz 11.852 kHz* 8 kHz 11.852 kHz* 32 kHz* 44.1 - 48 kHz 32 kHz* 44.1-48 kHz
- 13 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.2.4. ChipCorder Analog Array Sampling Frequency With External Clock If an external master clock is used, the clock dividers must be set according to the following table to get the filter cut-off frequency and sample rate setup correctly. The duty cycle on the input clock is not critical when CKD2 is set to ONE as the clock is immediately divided by two internally. See the Analog Structure (Right Half) description on page 32. FMCLK 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz 13.824 MHz 20.48 MHz 27.648 MHz 40.96 MHz FLD 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 FLD0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 CKD2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 CKDV 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Sample Rate 8.0 kHz 8.0 kHz 8.0 kHz 8.0 kHz 6.4 kHz 6.4 kHz 6.4 kHz 6.4 kHz 5.3 kHz 5.3 kHz 5.3 kHz 5.3 kHz 4.0 kHz 4.0 kHz 4.0 kHz 4.0 kHz Filter Knee 3.7 kHz 3.7 kHz 3.7 kHz 3.7 kHz 2.9 kHz 2.9 kHz 2.9 kHz 2.9 kHz 2.5 kHz 2.5 kHz 2.5 kHz 2.5 kHz 1.8 kHz 1.8 kHz 1.8 kHz 1.8 kHz
- 14 -
ISD5216
7.3. I2C INTERFACE The I2C interface is for bi-directional, two-line communication between different ICs or modules. The two lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be connected to a positive supply via a pull-up resistor. Data transfer may be initiated only when the interface bus is not busy.
7.3.1. System configuration A device generating a message is a `transmitter'; a device receiving a message is the `receiver'. The device that controls the message is the `master' and the devices that are controlled by the master are the `slaves'.
MICROCONTROLLER LSD DRIVER STATIC RAM OR EEPROM
SDA SCL
GATE ARRAY
ISD 5116
Example of an I C-bus configuration using two microcontrollers
2
7.3.2. Start and stop conditions Both data and clock lines remain HIGH when the interface bus is not busy. A HIGH-to-LOW transition of the data line while the clock is HIGH is defined as the start condition (S). A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the stop condition (P)
SDA
SDA
SCL
S
START condition
P
STOP condition
SCL
Definition of START and STOP conditions
- 15 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.3.3. Bit transfer One data bit is transferred during each clock pulse. The data on the SDA line must remain stable during the HIGH period of the clock pulse, as changes in the data line at this time will be interpreted as a control signal. The same timing applies to both read and write.
SDA
SCL data line stable; data valid changed of data allowed
Bit transfer on the I2C-Bus
7.3.4. ACKNOWLEDGE The number of data bytes transferred between the start and stop conditions from transmitter to receiver is unlimited. Each byte of eight bits is followed by an acknowledge bit. The acknowledge bit is a HIGH level signal put on the interface bus by the transmitter during which time the master generates an extra acknowledge related clock pulse. A slave receiver which is addressed must generate an acknowledge after the reception of each byte. In addition, a master receiver must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges must pull down the SDA line during the acknowledge clock pulse so that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse (setup and hold times must be taken into consideration). A master receiver must signal an end of data to the transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this event, the transmitter must leave the data line HIGH to enable the master to generate a stop condition.
DATA OUTPUT BY TRANSMITTER not acknowledge DATA OUTPUT BY RECEIVER acknowledge SCL FROM MASTER S START condition Acknowledge on the I C-bus
2
1
2
9 dock pulse for acknowledgement
- 16 -
ISD5216
7.3.5. Additional ISD5216 flow control The I C Interface in the ISD5216 differs from the standard implementation in the way the SCL line is also used for flow control. The ISD5216 will hold the clock line low until it is ready to accept another command/data. The SCL line must be implemented as a bi-directional line like the SDA line. For example, the sequence of sending the slave address will be as follows: 1. Send one byte 10000000 {Slave Address, R/W = 0} 80h. 2. Wait for slave to acknowledge (ACK) 3. Next time the clock is pulled high by the master, wait for SCL to actually go high.
2
7.3.6. I2C Protocol Addressing Since the I2C protocol allows multiple devices on the bus, each device must have an address. This address is known as a "Slave Address". A Slave Address consists of 7 bits, followed by a single bit that indicates the direction of data flow. This single bit is 1 for a Write cycle, which indicates the data is being sent from the current bus master to the device being addressed. This single bit is a 0 for a Read cycle, which indicates that the data is being sent from the device being addressed to the current bus master. Before any data is transmitted on the I2C interface, the current bus master must address the slave it wishes to transfer data to or from. The Slave Address is always sent out as the 1st byte following the Start Condition sequence. An example of a Master transmitting an address to a ISD5216 slave is shown below. In this case, the Master is writing data to the slave and the R/W bit is "0", i.e. a Write cycle. All the bits transferred are from the Master to the Slave, except for the indicated Acknowledge bits.
Master Transmits to Slave Receiver (Write) Mode
acknowledgement from slave acknowledgement from slave acknowledgement from slave acknowledgement from slave
S
SLAVE ADDRESS
WA
COMMAND BYTE
A
High ADDR. BYTE
A
Low ADDR. BYTE
A
P
Start Bit
R/W
Stop Bit
A common procedure in the ISD5216 is the reading of the Status Bytes. The Read Status condition in the ISD5216 is triggered when the Master addresses the chip with its proper Slave Address, immediately followed by the R/W bit set to a "0" and without the Command Byte being sent. This is an example of the Master sending to the Slave, immediately followed by the Slave sending data back to the Master. The "N" not-acknowledge cycle from the Master ends the transfer of data from the Slave.
- 17 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
Master Reads from Slave immediately after first byte (Read Mode)
acknowledgement from slave From Slave
S SLAVE ADDRESS R A STATUS W ORD A
From Slave
High ADDR. BYTE A
From Slave
Low ADDR BYTE
N
P
From Master Start Bit From Master R/W From Master acknowledgement from Master acknowledgement from Master Stop Bit From Master not-acknowledged from Master
Another common operation in the ISD5216 is the reading of digital data from the chip's memory array at a specific address. This requires the I2C interface Master to first send an address to the ISD5216 Slave device, and then receive data from the Slave in a single I2C operation. To accomplish this, the data direction R/W bit must be changed in the middle of the command. The following example shows the Master sending the Slave address, then sending a Command Byte and 2 bytes of address data to the ISD5216, and then immediately changing the data direction and reading some number of bytes from the chip's digital array. An unlimited number of bytes can be read in this operation. The "N" notacknowledge cycle from the Master forces the end of the data transfer from the Slave. The following example details the transfer explained in the section on page 22 of this datasheet.
Master Reads from the Slave after setting data address in Slave (Write data address, READ Data)
acknowledgement from slave acknowledgement from slave acknowledgement from slave acknowledgement from slave
S
SLAVE ADDRESS
WA
COMMAND BYTE
A
High ADDR. BYTE
A
Low ADDR. BYTE
A
Start Bit From Master
R/W From Master
acknowledgement from slave From Slave
S SLAVE ADDRESS R A 8 BITS of DATA A
From Slave
8 BITS of DATA A
From Slave
8 BITS of DATA
N
P
From Master Start Bit From Master R/W From Master acknowledgement from Master acknowledgement from Master not-acknowled from Master Stop Bit From Master
- 18 -
ISD5216
7.3.7. I2C Slave Address The ISD5216 has a 7 bit slave address of <100 00xy> where x and y are equal to the state, respectively, of the external address pins A1 and A0. Because all data bytes are required to be 8 bits, the LSB of the address byte is the Read/Write selection bit that tells the slave whether to transmit or receive data. Therefore, there are eight possible slave addresses for the ISD5216. To use more than four ISD5216 devices in an application requires some external switching of the I2C link. A1 0 0 1 1 0 0 1 1 A0 0 1 0 1 0 1 0 1 Slave Address <100 00 00> <100 00 01> <100 00 10> <100 00 11> <100 00 00> <100 00 01> <100 00 10> <100 00 11> R/W\ Bit 0 0 0 0 1 1 1 1 HEX Value 80 82 84 86 81 83 85 87
- 19 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.4. I2S SERIAL INTERFACE As shown in the following figure, the bus has three lines: * * * continuous serial clock (SCK) word select (WS) serial data (SDIO)and the device generating SCK and WS is the master.
Simple System Configurations and Basic Interface Timing
7.4.1. Serial Data Serial data is transmitted in two's complement with the MSB first. The MSB is transmitted first because the transmitter and receiver may have different word lengths. It isn't necessary for the transmitter to know how many bits the receiver can handle, nor does the receiver need to know how many bits are being transmitted. When the system word length is greater than the transmitter word length, the word is truncated (least significant data bits are set to `0') for data transmission. If the receiver is sent more bits than its word length, the bits after the LSB are ignored. On the other hand, if the receiver is sent fewer bits than its word length, the missing bits are set to zero internally. And so, the MSB has a fixed position, whereas the position of the LSB depends on the word length. The transmitter always sends the MSB of the next word one clock period after the WS changes. Serial data sent by the transmitter may be synchronized with either the trailing (HIGH-to-LOW) or the leading (LOW-to-HIGH) edge of the clock signal. However, the serial data must be latched into the receiver on the leading edge of the serial clock signal, and so there are some restrictions when
- 20 -
ISD5216
transmitting data that is synchronized with the leading edge (see the timing specifications at the back of this data sheet).
Note that the specifications are defined by the transmitter speed. The specification of the receiver has to be able to match the performance of the transmitter.
7.4.2. Word Select The word select line indicates the channel being transmitted: * WS = 0; channel 1 (left) * WS = 1; channel 2 (right) WS may change either on a trailing or leading edge of the serial clock, but it doesn't need to be symmetrical. In the slave, this signal is latched on the leading edge of the clock signal. The WS line changes one clock period before the MSB is transmitted. This allows the slave transmitter to derive synchronous timing of the serial data that will be set up for transmission. Furthermore, it enables the receiver to store the previous word and clear the input for the next word (see figure Timing for I2S Transmitter on previous page.) 7.4.3. Timing In the I S format, any device can act as the system master by providing the necessary clock signals. A slave will usually derive its internal clock signal from an external clock input. This means, taking into account the propagation delays between master clock and the data and/or word-select signals, the total delay is simply the sum of: * the delay between the external (master) clock and the slave's internal clock; and * the delay between the internal clock and the data and/or word-select signals. For data and word-select inputs, the external to internal clock delay is of no consequence because it only lengthens the effective set-up time (see figure Timing for I2S Transmitter on previous page.) The major part of the time margin is to accommodate the difference between the propagation delay of the transmitter, and the time required to set up the receiver. All timing requirements are specified relative to the clock period or to the minimum allowed clock period of a device. This means that higher data rates can be used in the future.
2
Timing for I2S Receiver
T tLC > 0.35T SCK tar > 0.2T SD and WS T = clock period TR = minimum allowed clock period for transmitter T > TR tar > 0 tHC > 0.35 VH = 2.0V VL = 0.8V
Note that the specifications are defined by the transmitter speed. The specification of the receiver has to be able to match the performance of the transmitter.
- 21 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.5. CONTROL REGISTERS The ISD5216 is controlled by loading commands to, or reading commands from the internal command, configuration and address registers. The Command byte sent is used to start and stop recording, write or read digital data and perform other functions necessary for the operation of the device. 7.5.1. Command Byte Control of the ISD5216 is implemented through an 8-bit command byte that is sent after the 7-bit device address and the 1-bit Read/Write selection bit. The 8 bits are: Global power up bit (PU) DAB bit: determines whether device is performing an analog or digital function 3 function bits: these determine which function the device is to perform in conjunction with the DAB bit. 3 register address bits: these determine if and when data is to be loaded to a register C7 PU C6 DAB C5 FN2 C4 FN1 C3 FN0 C2 RG2 C1 RG1 C0 RG0
Function Bits
Register Bits
- 22 -
ISD5216
7.5.2. Function Bits The command byte function bits are detailed in the table to the right. C6, the DAB bit, determines whether the device is performing an analog or digital function. The other bits are decoded to produce the individual commands. Note that not all decode combinations are currently used; they are reserved for future use. Out of 16 possible codes, the ISD5216 uses 7 for normal operation. The other 9 are No Ops.
Command Bits C6 DAB 0 0 0 0 1 1 1 C5 FN2 0 1 0 1 1 0 0 RG1 C1 0 0 1 1 0 C4 FN1 0 0 1 1 0 0 1 C3 FN0 0 1 0 1 0 1 0 RG0 C0 0 1 0 1 1
Function
STOP (or do nothing) Analog Play Analog Record Analog MC Digital Read Digital Write Erase (row) Function No action Load Address Load CFG0 Load CFG1 Load CFG2
7.5.3. Register Bits The register load may be used to modify a command sequence (such as load an address) or used with the null command sequence to load a configuration or test register. Not all registers are accessible to the user. [The remaining three codes are No Ops.]
RG2 C2 0 0 0 0 1
- 23 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.5.4. OPCODE Command Byte Table Pwr OPCODE COMMAND BIT NUMBER POWER UP POWER DOWN STOP (DO NOTHING) STAY ON STOP (DO NOTHING) STAY OFF LOAD ADDRESS LOAD CFG0 LOAD CFG1 LOAD CFG2 RECORD ANALOG RECORD ANALOG @ ADDR PLAY ANALOG PLAY ANALOG @ ADDR MSG CUE ANALOG MSG CUE ANALOG @ ADDR ERASE DIGITAL PAGE ERASE DIGITAL PAGE @ ADDR WRITE DIGITAL WRITE DIGITAL @ ADDR READ DIGITAL READ DIGITAL @ ADDR READ STATUS REGISTER HEX CMD 80 00 80 00 81 82 83 85 90 91 A8 A9 B8 B9 D0 D1 C8 C9 E0 E1 N/A PU C7 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 N/A DA B C6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 N/A Function Bits FN 2 C5 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 N/A FN 1 C4 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1 1 0 0 0 0 N/A FN 0 C3 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 N/A Register Bits RG 2 C2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 N/A RG 1 C1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 N/A RG0 C0 0 0 0 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 N/A
- 24 -
ISD5216
7.5.5. Power-up The ISD5216 must be powered up before sending any other commands. Wait for Tpud time before sending the next command. 7.5.6. Read Status When the device is polled with the Read Status command, it will return three bytes of data. The first byte is the status byte, the next is the upper address byte and the last is the lower address byte. The status register is one byte long and its bit function is: BIT# 7 6 5 4 3 2 1 0 The lower address byte will always return the block address bits as zero, either in digital or analog mode. It is good practice to read the status register after a Write or Record operation to ensure that the device is ready to accept new commands. Depending upon the design and the number of pins available on the controller, the polling overhead can be reduced. If INT and RAC are tied to the microcontroller, the controller does not have to poll as frequently to determine the status of the ISD5216 7.5.7. Attaching an Address to a Command In the I2C write mode, the device can accept data sent after the command byte. If a register load option is selected, the next two bytes are loaded into the selected register. The format of the data is MSB first, as specified by the I2C standard. Thus to load DATA<15:0> into the device, DATA<15:8> is sent first, the byte is acknowledged, and DATA<7:0> is sent next. The address register consists of two bytes. The format of the address is as follows: ADDRESS<15:0> = PAGE_ADDRESS<10:0>, BLOCK_ADDRESS<4:0> DEVICE_ID An internal device ID. This is 001 for the ISD5216. NAME EOM OVF READY PD PRB FUNCTION Indicates whether an EOM interrupt has occurred. Indicates whether an overflow interrupt has occurred. Indicates the internal status of the device - if READY is LOW no new commands should be sent to device. Device is powered down if PD is HIGH. Play/Record mode indicator. HIGH=Play/LOW=Record.
If an analog function is selected, the block address bits must be set to 00000. Digital Read and Write are block addressable.
- 25 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.5.8. Playback Mode
The command sequence for an analog playback operation from a given address is the Slave Address (80h), the Command Byte (A9h) for Play Analog @ Address, and the two address bytes. If The Play Analog (A8h) is sent, playback starts from the current address pointer. The current address pointer is returned when the three status bytes are read.
7.5.9. Record Mode
The command sequence for an Analog Record is a four byte sequence consisting of the Slave Address (80h), the Command Byte (91h) for Record Analog @ Address, and the two address bytes. If The Record Analog (90h) is sent, recording starts from the current address pointer.
7.5.10. Message Cueing Message cueing allows the user to skip through messages, without having to know the actual physical location of each message. This operation is used during playback. In this mode, the messages are skipped 512 times faster than in normal playback mode. This operation will stop when an EOM marker is reached. Then, the internal address counter will be pointing to the next message. 7.6. DIGITAL MODE 7.6.1. Writing Data
The Digital Write function allows the user to select a portion of the array to be used as digital memory. The partition between analog and digital memory is left up to the user. A page can only be either Digital or Analog, but not both. The minimum addressable block of memory in the digital mode is 1 block, or 64 bits, when reading or writing. The address sent to the device is the 11-bit row (or page) address with the 5-bit scan (or block) address. However, one must send a Digital Erase before attempting to change digital data on a page. This means that even when changing only one of the 32 blocks, all 32 will need to be rewritten to the page. After the address is entered, the data is sent in one-byte packets followed by an I2C acknowledge generated by the chip. Data for each block is sent MSB first. The data transfer is ended when the master generates an I2C STOP condition. If only a partial block of data is sent before the STOP condition, zero is "written" in the remaining bytes; that is, they are left at the erase level. An erased page (row) will be read as all zeros. The device can buffer up to two blocks of data. If the device is unable to accept more data due to the internal write process, the SCL line will be held LOW indicating, to the master, to halt data transfer. If the device encounters an overflow condition, it will respond by generating an interrupt condition and an I2C Not Acknowledge signal after the last valid byte of data. Once data transfer is terminated, the device needs up to two cycles (64 us) to complete its internal write cycle before another command is sent. If an active command is sent before the internal cycle is finished, the ISD5216 will hold SCL LOW until the current command is finished.
7.6.2. Reading Data
The Digital Read command utilizes the combined I2C command format. That is, a command is sent to the chip using the write data direction. Then the data direction is reversed by sending a repeated start condition and the slave address with R/W set to one. After this, the slave device (ISD5216) begins to send data to the master until the master generates a Not Acknowledge. If the part encounters an overflow condition, the INT pin is pulled LOW. No other communication with the master is possible due to the master generating ACK signals.
- 26 -
ISD5216
As with Digital Write, Digital Read can be done a "block" at a time. Thus, only 64 bits need to be read in each Digital Read command sequence.
7.6.3. Erasing Data The Digital Erase command can only erase an entire page at a time. This means that the D0 or D1 command only needs to include the 11-bit page address; the 5-bit for block address are left at 00000. Once a page has been erased, each block may be written separately, 64 bits at a time. But, if a block has been previously written, then the entire page of 2048 bits must be erased in order to re-write (or change) a block.
While erasing data, the RAC pin will have a pulse at the end of each erased page, when the stop erase command is sent, the device will stop erasing at the end of the current page. To erase a single page, the stop command should be sent immediately after the start erase command. To erase multiple pages, count pulses on the RAC pin and send the stop command after n-1 RAC pulses have been detected where n is the number of pages to erase. A sequence might look like: - read the entire page - store it in RAM - change the desired bit(s) - erase the page - write the new data from RAM to the entire page
7.6.4. Load Configuration Registers To load the configuration registers, send the LOAD CFG command followed by the two configuration bytes with the most significant byte first. The following tables provide a summary of the bits. There are three configuration registers: CFG0, CFG1 and CFG2. Thus, there are six 8-bit bytes to be loaded during the set-up of the device.
- 27 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
CFG0
Bit no. Signal Description
D0 (LSB) D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 (MSB)
VLPD OPA0 OPA1 OPS0 OPS1 CDI0 CDI1 AMT0 OSPD INS0 AXPD AXG0 AXG1 CIG0 CIG1 CIG2
Power down the Volume Control. Power down Speaker driver and/or Auxiliary output. Power down Speaker driver and/or Auxiliary output. Select speaker output multiplexer. Select speaker output multiplexer. Analog to digital converter input selector. Analog to digital converter input selector. Compress the filter signal. Power down the internal ChipCorder oscillator. Select Microphone input or Auxiliary input. Power down Auxiliary input amplifier. Auxiliary input amplifier gain setting. Auxiliary input amplifier gain setting. Input gain setting for the Analog to digital converter. Input gain setting for the Analog to digital converter. Input gain setting for the Analog to digital converter.
- 28 -
ISD5216
CFG1
Bit no. Signal Description
D0 (LSB) D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 (MSB)
AGPD FLPD FLD0 FLD1 FLS0 S2M0 S2M1 S1M0 S1M1 S1S0 S1S1 VOL0 VOL1 VOL2 VLS0 VLS1
Power down the Microphone AGC Power down the Filter Set the duration and sample rate of the ChipCorder Set the duration and sample rate of the ChipCorder Select the filter input signal Select Sum Amplifier 2 input Select Sum Amplifier 2 input Select Sum Amplifier 1 input Select Sum Amplifier 1 input Select Sum Amplifier 1 multiplexer Select Sum Amplifier 1 multiplexer Volume Control Setting Volume Control Setting Volume Control Setting Select Volume Control input Select Volume Control input
- 29 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
CFG2
Bit no. Signal Description
D0 (LSB) D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 (MSB)
ADPD DAPD LAW0 LAW1 I2S0 HSR0 HPF0 MUTE CKDV COG0 COG1 COG2 CKD2 -
Power down the Analog to Digital converter Power down the Digital to Analog converter Select digital -Law or A-Law input/output format Select digital -Law or A-Law input/output format Select the I2S interface Enable the high sample rate mode Enable High Pass Filter Mute the CODEC A/D and D/A path Divide MCLK by 2560 or 1728 for 8 kHz ChipCorder sample rate Output gain setting for the Digital to Analog converter Output gain setting for the Digital to Analog converter Output gain setting for the Digital to Analog converter Divide MCLK frequency by 2 or 1 Reserved Reserved Reserved
- 30 -
ISD5216
7.7. ISD5216 ANALOG STRUCTURE (LEFT HALF) description
INP AGC AMP INP SUM1 MUX
2
SUM1 Summing AMP SUM1
Input Source MUX
1
AUX IN
( S1M0 ) S1M1
FILTO
SUM1 MUX
(INS0)
ARRAY DAC OUT
S1M1
S1M0
This summing amp allows the signal from the input mux or sum 1 mux to be selected or added together. Set the amp to OFF to switch off completely BOTH SUM1 MUX ONLY INP Only POWER DOWN
0
2
0 1 0 1
( S1S0 ) S1S1
INSO Select whether to send the AUX input or the microphone signal to the summing amp AGC AMP AUX IN AMP S1S1 S1S0
0 1 1
0 1
Select whether to send the FILTO signal, the MLS playback signal or the output of the CODEC DAC to the summing amp. Set to OFF to disable the signal DAC OUT (DAO) ARRAY FILTO OFF
0 0 1 1
0 1 0 1
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
CIG2 15 VLS1 15 X CIG1 14 VLS0 14 X CIG0 13 VOL2 13 X AXG1 12 VOL1 12 CKD2 AXG0 11 VOL0 11 COG2 AXPD 10 S1S1 10 COG1 INS0 9 S1S0 9 COG0 OSPD 8 S1M1 8 CKDV AMT0 7 S1M0 7 MUTE CDI1 6 S2M1 6 HPF0 CDI0 5 S2M0 5 HSR0 OPS1 4 FLS0 4 I2S0 OPS0 3 FLD1 3 LAW1 OPA1 2 FLD0 2 LAW0 OPA0 1 FLPD 1 DAPD VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 31 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
ISD5216 ANALOG STRUCTURE (Right Half) description
FLS0 0 1 Select input from MLS array or sum 1 amp SUM1 ARRAY AMT0 0 1 Switch on or off the auto gain circuit Uncompressed Compressed FLPD 0 1 Control power to the low pass filter Power Up Power Down
FLD1 0 0 1 1
FLD0 0 1 0 1
SAMPLE RATE 8 KHz 6.4 KHz 5.3 KHz 4.0 KHz
PASS BAND 3.7 KHz 2.9 KHz 2.5 KHz 1.8 KHz
S2M1 0 0 1 1
S2M0 0 1 0 1
SOURCE BOTH AUX IN ONLY FILTO ONLY Power Down
CKD2 0 1
Divide Master Clock by 1 or 2 Divide by 1 Divide by 2
CKDV 0 1
Divide Master Clock by 1728 or 2560 Divide by 1728 Divide by 2560
OSPD 0 1
Power Up Internal Oscillator Power up Power Down
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
CIG2 15 VLS1 15 X CIG1 14 VLS0 14 X CIG0 13 VOL2 13 X AXG1 12 VOL1 12 CKD2 AXG0 11 VOL0 11 COG2 AXPD 10 S1S1 10 COG1 INS0 9 S1S0 9 COG0 OSPD 8 S1M1 8 CKDV AMT0 7 S1M0 7 MUTE CDI1 6 S2M1 6 HPF0 CDI0 5 S2M0 5 HSR0 OPS1 4 FLS0 4 I2S0 OPS0 3 FLD1 3 LAW1 OPA1 2 FLD0 2 LAW0 OPA0 1 FLPD 1 DAPD VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 32 -
ISD5216
7.7.1 Speaker, AUX OUT and Volume Control Description
OPA1 VLPD 0 1 Switch volume control on or off Power Up Power Down 0 0 1 1 VLS1 VLS0 Select input source to the volume mux 0 0 1 0 1 0 DAC OUT SUM2 SUM1 VOL2 0 0 0 0 1 1 1 1 VOL1 0 0 1 1 0 0 1 1 VOL 0 0 1 0 1 0 1 0 1 Attenuation 0 dB 4 dB 8 dB 12 dB 16 dB 20 dB 24 dB 28 dB 0 0 1 1 0 1 0 1 OPS1 OPS0
OPA0 State of the speaker output 0 1 0 1 Power Down 3.6 VP-P @ 150 23.5 mW @ 8 Power Down
State of aux out Power Down Power Down Power Down 1 VP-P Max @ 5 K
Select input source to the analog output mux VOL DAC OUT FILTO SUM2
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
15 CIG2 15 VLS1 15 X 14 CIG1 14 VLS0 14 X 13 CIG0 13 VOL2 13 X 12 AXG1 12 VOL1 12 CKD2 11 AXG0 11 VOL0 11 COG2 10 AXPD 10 S1S1 10 COG1 9 INS0 9 S1S0 9 COG0 8 OSPD 8 S1M1 8 CKDV 7 AMT0 7 S1M0 7 MUTE 6 CDI1 6 S2M1 6 HPF0 5 CDI0 5 S2M0 5 HSR0 4 OPS1 4 FLS0 4 I2S0 3 OPS0 3 FLD1 3 LAW1 2 OPA1 2 FLD0 2 LAW0 1 OPA0 1 FLPD 1 DAPD 0 VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 33 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.7.2. Microphone and Auxiliary Inputs
Internal to the device Rb CCOUP = 0.1 iF ANA IN Input Ra AXPD 0 1 Power up the AUX in input amplifier Power Up Power Down
ANA IN Input Amplifier
AXG1
AXG0
Gain (dB) of the aux input amplifier 0 3 6 9
(
0 0 NOTE: fCUTTOFF 1 2xRaCCCUP
2.2V Voltage
0 1 0 1
1 1
AGPD
Power up the AGC control and the MIC bias voltage Power Up Power Down
0 1
CDI1
CDI0
Select input to the CODEC A/D converter INP SUM2 MIC No Input
0 0 1 1
0 1 0 1
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
15 CIG2 15 VLS1 15 X 14 CIG1 14 VLS0 14 X 13 CIG0 13 VOL2 13 X 12 AXG1 12 VOL1 12 CKD2 11 AXG0 11 VOL0 11 COG2 10 AXPD 10 S1S1 10 COG1 9 INS0 9 S1S0 9 COG0 8 OSPD 8 S1M1 8 CKDV 7 AMT0 7 S1M0 7 MUTE 6 CDI1 6 S2M1 6 HPF0 5 CDI0 5 S2M0 5 HSR0 4 OPS1 4 FLS0 4 I2S0 3 OPS0 3 FLD1 3 LAW1 2 OPA1 2 FLD0 2 LAW0 1 OPA0 1 FLPD 1 DAPD 0 VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 34 -
ISD5216
7.7.3. CODEC Configuration (First Page)
CIG2 0 0 0 0 1 1 1 1
CIG1 0 0 1 1 0 0 1 1
CIG0 0 1 0 1 0 1 0 1
ADC GAIN 0.80 1.00 1.20 1.25 1.40 1.60 1.80 2.00
COG2 0 0 0 0 1 1 1 1
COG1 0 0 1 1 0 0 1 1
COG0 0 1 0 1 0 1 0 1
DAC GAIN (dB) 0 +2 +4 +6 -8 -6 -4 -2
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
15 CIG2 15 VLS1 15 X 14 CIG1 14 VLS0 14 X 13 CIG0 13 VOL2 13 X 12 AXG1 12 VOL1 12 CKD2 11 AXG0 11 VOL0 11 COG2 10 AXPD 10 S1S1 10 COG1 9 INS0 9 S1S0 9 COG0 8 OSPD 8 S1M1 8 CKDV 7 AMT0 7 S1M0 7 MUTE 6 CDI1 6 S2M1 6 HPF0 5 CDI0 5 S2M0 5 HSR0 4 OPS1 4 FLS0 4 I2S0 3 OPS0 3 FLD1 3 LAW1 2 OPA1 2 FLD0 2 LAW0 1 OPA0 1 FLPD 1 DAPD 0 VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 35 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
LAW1 0 0 1 1
LAW0 0 1 0 1
Data Format Two's Complement A-Law - Law Signed Magnitude
MUTE 0 1
State Unmuted muted
DAPD 0 1
Power up the CODEC DAC Power Up Power Down
CODEC Configuration (Second Page)
ADPD 0 1
CODEC ADC Power Up Power Down
I2S0 0 1
Digital Interface PCM I2S
HPF0 0 1
High Filter Bypassed Enabled
Pass
HSR0 0 1
Sample Rate Mode Low High
Configuration Register CFG0, CFG1 and CFG2. The bits described on this page are highlighted.
15 CIG2 15 VLS1 15 X 14 CIG1 14 VLS0 14 X 13 CIG0 13 VOL2 13 X 12 AXG1 12 VOL1 12 CKD2 11 AXG0 11 VOL0 11 COG2 10 AXPD 10 S1S1 10 COG1 9 INS0 9 S1S0 9 COG0 8 OSPD 8 S1M1 8 CKDV 7 AMT0 7 S1M0 7 MUTE 6 CDI1 6 S2M1 6 HPF0 5 CDI0 5 S2M0 5 HSR0 4 OPS1 4 FLS0 4 I2S0 3 OPS0 3 FLD1 3 LAW1 2 OPA1 2 FLD0 2 LAW0 1 OPA0 1 FLPD 1 DAPD 0 VLPD 0 AGPD 0 ADPD CFG2 CFG1 CFG0
- 36 -
ISD5216
7.8. PIN DETAILS 7.8.1. Power and Ground Pins VCCA, VCCD (Voltage Inputs)
To minimize noise, the analog and digital circuits in the Winbond ISD5216 device use separate power busses. These +3 V busses lead to separate pins. Tie the VCCD pins together as close as possible, and decouple both supplies as near to the package as possible.
VSSA, VSSD (Ground Inputs)
The Winbond ISD5216 series utilizes separate analog and digital ground busses. The analog ground (VSSA) pins should be tied together as close to the package as possible, and connected through a lowimpedance path to power supply ground. The digital ground (VSSD) pin should be connected through a separate low impedance path to power supply ground. These ground paths should be large enough to ensure that the impedance between the VSSA pins and the VSSD pin is less than 3. The backside of the die is connected to VSSD through the substrate resistance. In a chip-on-board design, the die attach area must be connected to VSSD.
NC (No Connect)
These pins should not be connected to the board at any time. Connection of these pins to any signal, ground or VCC, may result in incorrect device behavior or cause damage to the device.
7.8.2. Digital I/O Pins: SCL (SERIAL CLOCK LINE)
The Serial Clock Line is a bi-directional clock line. It is an open-drain line requiring a pull-up resistor to Vcc. It is driven by the "master" chips in a system and controls the timing of the data exchanged over the Serial Data Line.
SDA (SERIAL DATA LINE)
The Serial Data Line carries the data between devices on the I2C interface. Data must be valid on this line when the SCL is HIGH. State changes can only take place when the SCL is LOW. This is a bidirectional line requiring a pull-up resistor to Vcc.
A0, A1 (Address Pins)
These two pins are normally strapped for the desired address that the Winbond ISD5216 will have on the I2C serial interface. If there are four of these devices on the bus, then each must be strapped differently in order to allow the master device to address them individually. The possible addresses range from 80h to 87h, depending upon whether the device is being written to, or read from, by the host. The Winbond ISD5216 has a 7-bit slave address of which only A0 and A1 are pin programmable. The eighth bit (LSB) is the R/W bit. Thus, the address will be 1000 0xy0 or 1000 0xy1
- 37 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
RAC (ROW ADDRESS CLOCK)
RAC is an open drain output pin that normally marks the end of a row. At the 8 kHz sample frequency the duration of this period is 256 ms. there are 1888 pages of memory in the Winbond ISD5216 device. RAC stays HIGH for 248 ms and goes LOW for the remaining 8 ms before it reaches the end of the page.
1 ROW
RAC Waveform During 8 KHz Operation 256 msec TRAC
8 msec TRACLO
The RAC pin remains HIGH for 500 sec and stays LOW for 15.6 sec under the Message Cueing mode. See the Timing Parameters table on page 63 for RAC timing information at other sample rates. When a record command is first initiated, the RAC pin remains HIGH for an extra TRACLO period in order to load sample and hold circuits internal to the device. The RAC pin can be used for message management techniques.
1 ROW
RAC Waveform During Message Cueing 500 usec TRAC
15.6 us TRACLO
RAC Waveform During Digital Erase
1.25 sec
.25 sec
- 38 -
ISD5216
INT (Interrupt)
INT is an open drain output pin. The Winbond ISD5216 Interrupt pin goes LOW and stays LOW when an Overflow (OVF) or End of Message (EOM) marker is detected. Each operation that ends in an EOM or OVF generates an interrupt, including the message cueing cycles. The interrupt is cleared by a READ STATUS instruction that gives a status byte on the SDA line.
MCLK (Master Clock Input)
The Master clock input for the Winbond ISD5216 product has an internal pull-down device. Normally, the Winbond ISD5216 ChipCorder section is operated at one of four internal rates selected for its internal oscillator by the Sample Rate Select bits. If the internal oscillator is powered down (configuration bit OSPD set to ONE), the device is clocked through the MCLK pin as shown in the section ISD5216 Analog Structure (right half) description on page 32. If an external clock is not used, this input should be connected to VSSD.
7.8.3. CODEC Iinterface Pincs SCK
Bit clock for PCM or I2S audio data
WS
The Word Sync (Frame Sync) signal is used to differentiate between data for left and right channel in I2S. For PCM it signals the beginning of the word.
SDIO
For PCM, this is the output signal from the CODEC, it should be connected to the input pin of the receiving device. In I2S mode, this is a bi-directional pin that should be connected to the bi-directional I2S data pin on the other device connected to the I2S bus.
SDI
This pin is only used when the CODEC is in PCM mode, this signal provides digital audio input to the CODEC it should be connected to the output pin of the transmitting device.
7.8.4. ANALOG I/O PINS MIC+, MIC(Microphone Input +/-)
The microphone inputs transfer the voice signal to the on-chip AGC preamplifier, or directly to the CODEC INPUT MUX, depending on the selected path. The AGC circuit has a range of 45 dB in order to deliver a nominal 694 mV p-p into the storage array from a typical electret microphone output of 2 to 20 mV p-p. The input impedance is typically 20 k differential and 13.3 k differential when the CODEC INPUT MUX MICIN path is selected. The MICBS pin provides a 2.2V bias voltage for the external microphone only when the AGC is powered up. Using this regulated bias voltage results in less supply noise coupling into the MIC+ and
Publication Release Date: Jan. 31, 2006 Revision B.4
- 39 -
ISD5216
MIC- pins compared to the situation in which the external microphone is powered up through the power supply. It also saves current during power down.
ACAP (AGC Capacitor)
This pin provides the capacitor connection for setting the parameters of the microphone AGC circuit. It should have a 4.7 F capacitor connected to ground. It cannot be left floating. This is because the capacitor is also used in the playback mode for the AutoMute circuit or when signal compression is chosen (AMT0 is set to ONE). This circuit reduces the amount of noise present in the output during quiet pauses. Tying this pin to ground gives maximum gain. Tying it to VCCA gives minimum gain for the AGC amplifier, but cancels the AutoMute function. Connect the capacitor to low noise ground as ground noise directly affects the microphone performance
SP +, SP(Speaker +/-)
This is the speaker differential output circuit. It is designed to drive an 8 speaker connected across the speaker pins, up to a maximum of 23.5 mW RMS power. This stage has two selectable gains, 1.32 and 1.6, which can be chosen through the configuration registers. These pins are biased to approximately 1.2 VDC and, if used single-ended, must be capacitively coupled to their load. Do NOT ground the unused pin.
AUX OUT (Auxiliary Output) The AUX OUT is an additional audio output pin to be used, for example, to drive the speaker circuit in a "car kit." It drives a minimum load of 5 k and up to a maximum of 1 V p-p. The AC signal is superimposed on approximately 1.2 VDC bias and must be capacitively coupled to the load. AUX IN (Auxiliary Input)
The AUX IN is an additional audio input to the Winbond ISD5216, such as from the microphone circuit in a mobile phone "car kit." This input has a nominal 694 mV p-p level at its minimum gain setting (0 dB). (See Aux In Amplifier Gain Settings Table below). Additional gain is available in 3 dB steps (controlled by the I2C interface) up to 9 dB.
0TLP Input VP-P 0.694 0.491 0.347 0.245
(2)
Gain Setting 00 01 10 11
Gain
(1)
(dB)
Gain
(1)
Array In/Out VP-P 0.694 0.694 0.694 0.694
Speaker Out VP(3) P
0 3 6 9
1.00 1.41 2.00 2.82
0.694 0.694 0.694 0.694
1. 2. 3.
Gain from AUX IN to ARRAY IN 0TLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping Differential
- 40 -
ISD5216
7.9. AUTO MUTE AND AUTO GAIN FUNCTIONS During playback, the signal passes through the Automatic Attenuator before it is filtered. The Automatic Attenuator will attenuate all signals at the noise level in order to reduce the noise during quiet pauses.
During record, low level input signals are brought up by the Auto Gain function if the configuration bit D7 of CFG0 (AMT0) is set. This improves the signal to noise ratio of recorded low level input signals. If the configuration bit CFG0<7> (AMT0) is set to ZERO, all input levels are recorded with the same gain setting. The attack and release time of the Auto Gain and Auto Mute functions is set by the capacitor on the ACAP pin. The AGC cannot be used if the Auto Gain or Auto Mute function is enabled. Tattack 0,1504 x Vpeak Trelease 6.58 x Vpeak @ Cattcap=4.7 F
Expand Gain (dB) 0 Gain (dB) 12
Compres
-12 0 Vpp 0
0 Vpp
- 41 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.10 PROGRAMMING THE ISD 5216 7.10.1. Sending a byte on the I2C interface Conventions used in I2C Data Transfer Diagrams S P = START Condition
When reading or writing a byte of data on the I2C bus, two different mechanisms for flow control are used, the first is the standard ACK that the slave or master sends after reading or writing a byte, but the ISD5216 also uses flow control by holding the clock line (SCL) low until the chip is ready to transmit data, For example, the sequence of sending the slave address will be as follows: 1. Send one byte 10000000 {Slave Address, R/W = 0} 80h. 2. Slave ACK. 3. Next time the clock is pulled high by the master, wait for SCL to actually go high.
= STOP Condition
DATA = 8 bit data transfer R W
= "1" in the R/W bit = "0" in the R/W bit = ACK (Acknowledge) = No ACK = 7 bit Slave Address
7.10.2. POWER-UP SEQUENCE
This sequence prepares the ISD5216 for an operation to follow, and waits for the Tpud time before sending the next command sequence. 1. 2. 3. 4.
S
A N
Send I C Start. Send one byte 10000000 {Slave Address, R/W = 0} 80h. Send one byte 10000000 {Command Byte = Power Up} 80h. Send I2C Stop.
SLAVE ADDRESS W A A P
2
SLAVE ADDRESS
The Box color indicates the direction of data flow
= Host to Slave (Gray)
Power up (80h)
= Slave to Host (White)
7.10.3. Read Status command
The read status command is a read request from the Host processor to the ISD5216 without delivering a Command Byte. The Host supplies all of the clocks (SCL). The ISD5216 drives the data line (SDA). During the read commands, to read status, send the following sequence. 1. Host executes I2C START 2. Send Slave Address with R/W bit = "1" (Read) 81h. 3. Read one byte of data and send ACK, the read data is the status byte 4. Read one byte of data and send ACK, the read data is the upper address byte 5. Read one byte of data and send NACK, the read data is the lower address byte 2 6. Host sends I C STOP
Note: The processor could have sent an I C STOP after the Status Word data transfer, and thus aborted the transfer of the Address bytes
2
- 42 -
ISD5216
A graphical representation of this operation is found below. See the caption box above for more explanation.
S SLAVE ADDRESS R A DATA A DATA A DATA N P
Status Word
High Addr. Byte
Low Addr. Byte
7.10.4. Load Command Byte Register (Single Byte Load):
A single byte may be written to the Command Byte Register in order to power up the device, start or stop Analog Record (if no address information is needed), or perform a Message Cueing function. The Command Byte Register is loaded as follows: 1. 2. 3. 4. Host executes I2C START.
S SLAVE ADDRESS W A DATA A P
Send Slave Address with R/W bit = "0" (Write) [80h]. Host sends a command byte to Slave. Host executes I2C STOP.
Command Byte
7.10.5. Load Command Byte Register (Address Load):
For the normal addressed mode the Registers are loaded as follows: 1. 2. 3. 4. 5. 6.
S
Host executes I2C START. Send Slave Address with R/W bit = "0" (Write). Host sends a byte to Slave - (Command Byte). Host sends a byte to Slave - (High Address Byte). Host sends a byte to Slave - (Low Address Byte). Host executes I2C STOP.
SLAVE ADDRESS W A DATA A DATA A DATA A P
Command
High Addr. Byte
Low Addr. Byte
- 43 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.10.6. Digital Erase Host executes I2C START. Send Slave Address with /W bit = "0" (Write). Send Digital Erase command (d1h) Send high address byte (00h) Send low address byte (a0h) - erase row 5 in this example. Erase operations must be addressed on a page boundary. The 5 LSB bits of the Low Address Byte will be ignored. Host executes I2C STOP. Wait until the desired number of pages have been erased. There will be a pulse on the RAC pin for each page that is erased. After the stop command (described below) has been received, erasing will stop at the end of the page currently being erased. To erase one page only, issue the stop command immediately after the start erase command. Host executes I2C START. Send Slave Address with /W bit = "0" (Write). Send the Stop command (c0h). Host executes I2C STOP
Erase starts on falling edge of Slave acknowledge
1. 2. 3. 4. 5.
6. 7.
8. 9. 10. 11.
S
SLAVE ADDRESS
W
A
D1h
A
DATA
A
DATA
A
P
Note 2
Command Byte
High Addr. Byte
Low Addr. Byte
"N" RAC cycles Note 3.
Last erased row Note 4.
S
SLAVE ADDRESS
W
A
80h
A
P
Command Byte
Notes: 1. I2C bus is released while erase proceeds. Other devices may use the bus until it is time to execute the STOP command that causes the end of the Erase operation. 2. Host processor must count RAC cycles to determine where the chip is in the erase process, one row per RAC cycle. RAC pulses LOW for 0.25 microsecond at the end of each erased row. The erase of the "next" row begins with the rising edge of RAC. See the Digital Erase RAC timing diagram on page 46. 3. 4.When the erase of the last desired row begins, the following STOP command (Command Byte = 80 hex) must be issued. This command must be completely given, including receiving the ACK from the Slave before the RAC pin goes HIGH .25 microseconds before the end of the row.
- 44 -
ISD5216
7.10.7. Digital Write Send I2C START. Send Slave Address with /W bit = "0" (Write). Send Digital Write command (c9h) Send high address byte (00h) Send low address byte (a0h) - erase row 5 in this example. Write all bytes that needs to be written Send I2C STOP. Read status byte, see example above, until ready bit is set. 7.10.8. Digital Read Send I2C START. Send Slave Address with /W bit = "0" (Write). Send Digital Read command (e1h) Send high address byte (00h) Send low address byte (a0h) - erase row 5 in this example. Send I2C START. Send Slave Address with /W bit = "1" (Read). Send I2C Read commands until all bytes have been read. After the last byte has been read, send NACK. Send I2C STOP. 7.10.9. Feed Through Mode
1. 2. 3. 4. 5. 6. 7.
8.
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
To set up the device for the various paths requires loading the three 16-bit Configuration Registers with the correct data. For example, in the Feed Through Mode, the device only needs to be powered up and a few paths selected. This mode enables the ISD5216 to connect to a cellular or cordless baseband phone chip set without affecting the audio source or destination. There are two paths involved: the transmit path and the receive path. The transmit path connects the Winbond chip's microphone source through to the digital audio input on the baseband chip set. The receive path connects the baseband chip set's digital output through to the speaker driver on the Winbond chip. This allows the Winbond chip to substitute for Analog to Digital and Digital to Analog conversion, and incidentally gain access to the audio, both to and from the baseband chip set. To setup the environment described above, a series of commands need to be sent to the ISD5216. First, the chip needs to be powered up as described in Power-Up Sequence on page 25. Then the Configuration Registers need to be filled with the specific data to connect the desired paths. In the case of the Feed Through Mode, most of the chip can remain powered down. The Feed Through Mode diagram illustrates the affected paths. The following example shows the setup for a full-duplex feed-through path at 8 kHz sampling rate. The twos complement data format is enabled. The High Pass filter is also enabled. The Master Clock input is running at 13.824MHz. To select the Feed Through mode, the following control bits must be configured in the ISD5216 configuration register
- 45 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
FILTO+ VOL+ SUM2+
SPEAKER
Spkr. AMP AMP
Output
SDI
PCM Interface
/A-Law Expander
2
DAO+
DAC
3 3
Output GAIN
SP+ SP-
DAOSUM2VOLFILTO-
MUX
WS SCK
(LAW1,LAW0)
(DAPD,HSR0,MUTE) (COG2,COG1,COG0)
(OPA1,O PA0)
2
(OPS1,O PS0)
2
CODEC In Mux
SDIO
1
/A-Law Compressor
2
SUM2+ INP+
ADC
4
Input GAIN
MIC+ MIC INPSUM2-
(I2S0)
(LAW1,LAW0)
(ADPD,HSR0,HPF0,MUTE)
3
(CIG2,CIG1,CIG0)
(CDI1,CDI0)
2
1. Connect the microphone to the CODEC input - Bits CDI1 and CDI0 control the state of the CODEC INPUT MUX. These are the D6 and D5 bits, respectively, of Configuration Register 0 (CFG0) and they should be set to ONE and ZERO. 2. Power up the ADC--Bit ADPD controls the power up state of ADC. This is bit D0 of CFG2 and it should be a ZERO to power up the ADC. 3. Set the CODEC input gain - The input gain setting will depend on the input level at the MIC+/- pins and can be set by the CODEC INPUT GAIN Bits CIG2, CIG1 and CIG0. These are the D15, D14 and D13 bits, respectively, of Configuration Register 0 (CFG0). 4. Set audio interface - Set the interface mode to PCM-interface by setting bit I2S0, bit D4 of CFG2, to ZERO. This will also enable full duplex mode. 5. Set data format- Set the digital data format through bits LAW1 and LAW0. These are bits D3 and D2 of CFG2, respectively. 6. Set Master Clock Division - Set the Master Clock division ratios as described in Set Master Clock Division Ratio on page 25. 7. Power up the DAC -- Bit DAPD controls the power up state of the DAC. This is bit D1 of CFG2 and should be a ZERO to power up the DAC. 8. Send DAC output to speaker - Select the DAC path through the OUTPUT MUX--Bits OPS0 and OPS1 control the state of the OUTPUT MUX. These are bits D3 and D4, respectively, of CFG0 and they should be set to the state where D3 is ONE and D4 is ZERO to select the DAC path. 9. Power up the Speaker Amplifier--Bits OPA0 and OPA1 control the state of the Speaker and AUX amplifiers. These are bits D1 and D2, respectively, of CFG0. They should be set to the state where D1 is ONE and D2 is ZERO. This powers up the Speaker Amplifier and configures it for a higher gain setting (for use with a piezo speaker element) and also powers down the AUX output stage.
- 46 -
ISD5216
10. Power down the Volume Control Element--Bit VLPD controls the power up state of the Volume Control. This is bit D0 of CFG0 and it should be set to a ONE to power down this stage. 11. Power down the internal oscillator--Bit PDOS controls the power up state of the internal ChipCorder oscillator. This is bit D8 of CFG0 and it should be set to a ONE to power down this oscillator 12. Power down the AUX IN amplifier--Bit AXPD controls the power up state of the AUX IN input amplifier. This is bit D10 of CFG0 and it should be set to a ONE to power down this stage. 13. Power down the SUM1 and SUM2 Mixer amplifiers--Bits S1M0 and S1M1 control the SUM1 mixer and bits S2M0 and S2M1 control the SUM2 mixer. These are bits D7 and D8 in CFG1, and bits D5 and D6 in CFG1, respectively. All four bits should be set to a ONE in order to power down these two amplifiers. 14. Power down the FILTER stage--Bit FLPD controls the power up state of the FILTER stage in the device. This is bit D1 in CFG1 and should be set to a ONE to power down the stage. 15. Power down the AGC amplifier--Bit AGPD controls the power up state of the AGC amplifier. This is bit D0 in CFG1 and should be set to a ONE to power down this stage. 16. Don't Care bits--All other bits are not used in Feed Through Mode. Their bits may be set to either level. In this example, we will set all the "Don't Care" bits to a ZERO. This setup should result in the following configuration register values: CFG0=0010 0101 0100 1011 (hex 254B) CFG1=0000 0001 1110 0011 (hex 01E3). CFG2=0000 0000 0100 0000 (hex 0040). The three registers must be loaded with CFG0 first followed by CFG1 and CFG2. The internal set up for these registers will take effect synchronously, with the rising edge of SCL.
- 47 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.10.10. Call Record
The call record mode adds the ability to record the incoming phone call. In most applications, the ISD5216 would first be set up for Feed Through Mode as described above. When the user wishes to record the incoming call, the set up of the chip is modified to add that ability. For the purpose of this explanation, we will use the 6.4 kHz ChipCorder sample rate during recording. The block diagram of the ISD5216 shows that the Multilevel Storage array is always driven from the SUM2 SUMMING amplifier. The path traces back from there, through the LOW PASS Filter, the FILTER MUX, the SUM1 SUMMING amplifier, the SUM1 MUX, back to the origin CODEC. Feed Through Mode has already powered up the CODEC, so we only need to power up and enable the path to the Multilevel Storage array from that point:
1. Setup the feed through mode described in the previous section 2. Select the CODEC path through the SUM1 MUX--Bits S1S0 and S1S1 control the state of the SUM1 MUX. These are bits D9 and D10, respectively, of CFG1 and they should be set to the state where both D9 and D10 are ZERO to select the CODEC path. 3. Select the SUM1 MUX input (only) to the S1 SUMMING amplifier--Bits S1M0 and S1M1 control the state of the SUM1 SUMMING amplifier. These are bits D7 and D8, respectively, of CFG1 and they should be set to the state where D7 is ONE and D8 is ZERO to select the SUM1 MUX (only) path.
4. Select the SUM1 SUMMING amplifier path through the FILTER MUX--Bit FLS0 controls the state of the FILTER MUX. This is bit D4 of CFG1 and it must be set to ZERO to select the SUM1 SUMMING amplifier path. 5. Deselect the signal compression-Bit AMT0 controls the signal compression. This is bit D7 of CFG0 and it must be set to ZERO. 6. Power up the LOW PASS FILTER--Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO to power up the LOW PASS FILTER STAGE. 7. Select the 6.4 kHz sample rate--Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable the 6.4 kHz sample rate, D2 must be set to ONE and D3 set to ZERO. 8. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier--Bits S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6, respectively, of CFG1 and they should be set to the state where D5 is ZERO and D6 is ONE to select the LOW PASS FILTER (only) path.
The configuration settings in the call record mode are: CFG0=0100 0100 0000 1011 (hex 440B). CFG1=0000 0000 1100 0101 (hex 00C5). CFG2=0000 0000 0100 0000 (hex 0040).
- 48 -
ISD5216
7.10.11. Memo Record
The Memo Record mode sets the chip up to record from the local microphone into the chip's Multilevel Storage Array. A connected cellular telephone or cordless phone chip set may remain powered down since they are not active in this mode. The path to be used is microphone input to AGC amplifier, then through to the INPUT SOURCE MUX, to the SUM1 SUMMING amplifier. From there, the path goes through the FILTER MUX, the LOW PASS FILTER, the SUM2 SUMMING amplifier, then to the MULTILEVEL STORAGE ARRAY. In this example, we will select the 5.3 kHz sample rate. The rest of the chip may be powered down.
1. Power up the AGC amplifier - Bit AGPD controls the power up state of the AGC amplifier. This is bit D0 of CFG1 and must be set to ZERO to power up this stage. 2. Select the AGC amplifier through the INPUT SOURCE MUX--Bit INS0 controls the state of the INPUT SOURCE MUX. This is bit D9 of CFG0 and must be set to a ZERO to select the AGC amplifier. 3. Select the INPUT SOURCE MUX (only) to the S1 SUMMING amplifier--Bits S1M0 and S1M1 control the state of the SUM1 SUMMING amplifier. These are bits D7 and D8, respectively, of CFG1 and they should be set to the state where D7 is ZERO and D8 is ONE to select the INPUT SOURCE MUX (only) path. 4. Select the SUM1 SUMMING amplifier path through the FILTER MUX--Bit FLS0 controls the state of the FILTER MUX. This is bit D4 of CFG1 and it must be set to ZERO to select the SUM1 SUMMING amplifier path. 5. Deselect the signal compression-Bit AMT0 controls the signal compression. This is bit D7 of CFG0 and it must be set to ZERO. 6. Power up the LOW PASS FILTER--Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO to power up the LOW PASS FILTER STAGE. 7. Select the 5.3 kHz sample rate--Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable the 5.3 kHz sample rate, D2 must be set to ZERO and D3 set to ONE. 8. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier - BITS S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6, respectively, of CFG1, set D5 to ZERO and D6 to ONE to select the LOW PASS FILTER (only) path. 9. Power up the Internal Oscillator--Bit OSPD controls the power up state of the Internal Oscillator. This is bit D8 of CFG0 and it must be set to ZERO to power up the Internal Oscillator.
To set up the chip for Memo Record, the configuration registers are set up as follows: CFG0=0000 0100 0000 0001 (hex 0401). CFG1=0000 0001 0100 1000 (hex 0148). CFG2=0000 0000 0000 0011 (hex 0003).
- 49 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
7.10.12. Memo and Call Playback
This mode sets the chip up for local playback of recorded messages. The playback path is from the MULTILEVEL STORAGE ARRAY to the FILTER MUX, then to the LOW PASS FILTER stage. From there, the audio path goes through the SUM2 SUMMING amplifier to the VOLUME MUX, through the VOLUME CONTROL then to the SPEAKER output stage. We will assume that we are driving a piezo speaker element and that this audio was recorded at 8 kHz. All unnecessary stages will be powered down.
1. Select the MULTILEVEL STORAGE ARRAY path through the FILTER MUX--Bit FLS0, the state of the FILTER MUX. This is bit D4 of CFG1 and must be set to ONE 2. Power up the LOW PASS FILTER--Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO. 3. Select the 8.0 kHz sample rate--Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable 8.0 kHz sample rate, D2 and D3 must be set to ZERO. 4. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier --Bits S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6, respectively, of CFG1. Set D5 to ZERO and D6 to ONE to select the LOW PASS FILTER (only) path. 5. Select the SUM2 SUMMING amplifier path through the VOLUME MUX--Bits VLS0 and VLS1 control the VOLUME MUX stage. These bits are D14 and D15, respectively, of CFG1. Set D14 to ONE and D15 to ZERO to select the SUM2 SUMMING amplifier. 6. Power up the VOLUME CONTROL LEVEL--Bit VLPD controls the power-up state of the VOLUME CONTROL attenuator. This is Bit D0 of CFG0. Set this bit to a ZERO. 7. Select a VOLUME CONTROL LEVEL--Bits VOL0, VOL1 and VOL2 control the state of the VOLUME CONTROL LEVEL. These are bits D11, D12, and D13, respectively, of CFG1. A binary count of 000 through 111 controls the amount of attenuation through that stage. To set an attenuation of -12 dB, D11 should be set to ONE, D12 should be set to ONE, and D13 should be set to a ZERO. 8. Select the VOLUME CONTROL path through the OUTPUT MUX--These are bits D3 and D4, respectively, of CFG0. Set D3 to ZERO and D4 is a ZERO to select the VOLUME CONTROL. 9. Power up the SPEAKER amplifier and select the HIGH GAIN mode--Bits OPA0 and OPA1 control the state of the speaker (SP+ and SP-) and AUX OUT outputs. These are bits D1 and D2 of CFG0. Set D1 to ONE and D2 to ZERO to power-up the speaker outputs in the HIGH GAIN mode and to power-down the AUX OUT. 10. Power up the Internal Oscillator--Bit OSPD controls the power up state of the Internal Oscillator. This is bit D8 of CFG0 and it must be set to ZERO to power up the Internal Oscillator.
To set up the chip for Memo or Call Playback, the configuration registers are set up as follows: CFG0 = 0010 0100 0010 0010 (hex 2422). CFG1 = 0101 1001 1101 0001 (hex 59D1). CFG2 = 0000 0000 0000 0011 (hex 0003).
- 50 -
ISD5216
7.11. SAMPLE PC LAYOUT FOR PDIP The PDIP package is illustrated from the top. PC board traces and the three chip capacitors are on the bottom side of the board.
Note 2
1
C1
C2
V C C D MCLK
V S S D Note 3 (Digital Ground)
Note 1 VSSA C1=C2=C3=0.1 uF chip Capacitors
Note 1: VSSD traces should be kept separated back to the V supply feed SS point. Note 2: VCCD traces should be kept separated back to the V supply feed CC point. Note 3: The Digital and Analog grounds tie together at the power supply. The VCCA and VCCD supplies will also need filter capacitors (typ. 50 to 100 uF).
C3
To VCCA
Analog Ground
Note 3
- 51 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
8. TIMING DIAGRAMS
I C TIMING DIAGRAM
STOP START
2
t
SU;DAT
t
f
t
r
SDA
SCL
t
f
t t
LOW HIGH
t
SU;STO
t
SCLK
PLAYBACK AND STOP CYCLE
tSTART SDA
PLAY AT ADDR STOP
tSTOP
SCL
DATA CLOCK PULSES
STOP
AUX IN
AUX OUT
- 52 -
ISD5216
Example of power up command ON THE I2C BUS
- 53 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
I2C INTERFACE TIMING STANDARD-MODE
PARAMETER SCL clock frequency Hold time (repeated) START condition. After this period, the first clock pulse is generated LOW period of the SCL clock HIGH period of the SCL clock Set-up time condition for a repeated START SYMBOL MIN. 0 4.0 MAX. 100 -
FAST-MODE
MIN. 0 0.6 MAX. 400 -
UNIT
kHz ns
fSCL tHD; STA tLOW tHIGH tSU; STA tSU; DAT tr tf tSU; STO tBUF Cb VnL VnH
4.7 4.0 4.7 250 4.0 4.7 0.1 VDD 0.2 VDD
1000 300 400 -
1.3 0.6 0.6 100(1) 20 + 0.1Cb(2) 20 + 0.1Cb 0.6 1.3 0.1 VDD 0.2 VDD
(2)
300 300 400 -
ns ns ns ns ns ns ns ns pF V V
Data set-up time Rise time of both SDA and SCL signals Fall time of both SDA and SCL signals Set-up time for STOP condition Bus-free time between a STOP and START condition Capacitive load for each bus line Noise margin at the LOW level for each connected device (including hysteresis) Noise margin at the HIGH level for each connected device (including hysteresis)
1.
A Fast-mode I2C-interface device can be used in a Standard-mode I2C-interface system, but the requirement tSU;DAT > 250 ns must then be met. This will automatically be the case if the device does not stretch the LOW period of the SCL signal.
If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line; tr max + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-mode I2C -interface specification) before the SCL line is released. 2. Cb = total capacitance of one bus line in pF. If mixed with HS mode devices, faster fall-times are allowed.
- 54 -
ISD5216
I2S TIMING DIAGRAMS
- 55 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
CODEC Parameters
The internal CODEC meets the specification of the ITU-T G.714 recommendation in 8 kHz sampling mode. This specification is verified, using the MIC+/- and SPEAKER+/- pins as analog input and output. The CODEC /A-Law Compander meets the specification of the ITU-T G.711 /A-Law companding recommendation
Symbol
LABS TXMAX fch1 fcl1 fcl2 fMCLK DMCLK
Parameters
Absolute level Max. Transmit level High pass frequency Low pass frequency Low pass frequency filter filter filter cut-off cut-off cut-off frequency
Min
Typ
Max
Units
Vrms
Conditions
0 dBm0 = -2.5dBm @ 600 Mic+/Mic- differential @WS=8kHz, MCLK=13.824MHz @WS=8kHz, MCLK=13.824MHz @ WS=44.1kHz MCLK=20.48MHz - 48kHz,
2 300 3400 4686 -500 48 5037 0 50 5100 +500 52
Vpp Hz Hz Hz ppm %
Master clock accuracy
Master Clock Duty Cycle
I2S PARAMETERS (all values in nano seconds)
Parameter MIN Transmitter Lower Limit MAX Upper Limit MIN MAX MIN Receiver Lower Limit MAX Upper Limit MIN MAX NOTE S
Bit Clock period T High time tHC Low time tLC Rise time tRC Delay tdtr Hold time thtr Set-up time tsr Hold time thr
325 114 114 49 260 100
325 114 114
65 0
- 56 -
ISD5216
- 57 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
- 58 -
ISD5216
PCM PARAMETERS
PARAMETER Bit Clock Frequency Bit Clock Duty Cycle Word Sync. Frequency Word Sync. Frequency Rise Time Fall Time Hold Time for 2 clock
nd
SYMBOL 1/TSCK DC 1/TWSl 1/TWSh TIR TIF cycle of Bit THLD TXS TSX
CONDITIONS SCK SCK WS @ low rate WS @ high rate SCK,SDI,SDIO,WS SCK,SDI,SDIO,WS SCK low to WS low SCK to WS WS to SCK SCK to WS WS to SCK ----SCK to SDIO SCK to SDIO
MIN. 64 ----44.1 ----50 20 100 20 100 20 50 10 10
TYP. --50 8000 -------------------------
MAX. 3072 ----48 50 50 --------------120 120
UNIT kHz % Hertz kHz nsec nsec nsec nsec nsec nsec nsec nsec nsec nsec nsec
Transmit Sync. Timing
Receive Sync. Timing
TRS TSR
Setup Time for SDI valid Hold Time for SDI valid Output Delay Time for SDIO valid Output Delay Time for SDIO High Impedance
TSTSDI THDSDI TDV TDHI
- 59 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
9. ABSOLUTE MAXIMUM RATINGS
ABSOLUTE MAXIMUM RATINGS (Packaged Parts) [1]
Condition
Junction temperature Storage temperature range Voltage Applied to any pin Voltage applied to any pin (Input current limited to +/-20 mA) Lead temperature (soldering VCC - VSS - 10 seconds) 1500C
Value
-650C to +1500C (VSS - 0.3V) to (VCC + 0.3V) (VSS - 1.0V) to (VCC + 1.0V) 3000C -0.3V to +5.5V
[1] Stresses above those listed may cause permanent damage to the device. Exposure to the absolute maximum ratings may affect device reliability. Functional operation is not implied at these conditions.
OPERATING CONDITIONS (Packaged Parts)
Condition
Commercial operating temperature range Extended operating temperature Supply voltage (VCC) [2] Ground voltage (VSS)
[1]
Value
[1]
0 C to +70 C -200C to +700C -400C to +850C +2.7V to +3.3V 0V
0
0
[1]
Industrial operating temperature [1]
[3]
[2]
Case temperature
VCC = VCCA = VCCD
[3]
VSS = VSSA = VSSD
- 60 -
ISD5216
10. ELECTRICAL CHARACTERISTICS
General Parameters Symbol Parameters Min [2] Typ [1] Max [2] Unit s Conditions
VIL VIH VOL VOL1 VOH ICC
Input Low Voltage Input High Voltage SCL, SDA, SDIO Output Low Voltage RAC, INT Output Low Voltage Output High Voltage VCC Current (Operating) - Playback & A/D + D/A - Record & A/D + D/A - CODEC A/D + D/A 30 36 20 1 VCC - 0.4 VCC x 0.8
VCC x 0.2 0.4 0.4
V V V V V IOL = 3 mA IOL = 1 mA IOL = -10 A No Load [3] No Load [3] No Load [3]
[3]
50 56 30 10 +/-1
mA mA mA
A A
ISB IIL
[1] [2] [3]
VCC Current (Standby) Input Leakage Current
Typical values: TA = 25C and Vcc = 3.0 V.
All min/max limits are guaranteed by Winbond via electrical characterization. Not all specifications are 100 percent tested. VCCA and VCCD summed together.
testing
or
- 61 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
TIMING PARAMETERS Min [2] Typ [1] Max [2]
Symbol
Parameters
Units
Conditions
[5] [5] [5] [5]
FS
Sampling Frequency
8.0 6.4 5.3 4.0
kHz kHz kHz kHz kHz kHz kHz kHz min min min min min min min min msec msec msec msec
FCF
Filter Knee 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate) 3.7 2.9 2.5 1.8 8.05 10.06 12.15 16.1 8.05 10.06 12.15 16.1 1 1 1 1 Knee Point [3][7] Knee Point [3][7] Knee Point [3][7] Knee Point [3][7]
[6] [6] [6] [6]
TREC
Record Duration 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
TPLAY
Playback Duration 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
[6] [6] [6] [6]
TPUD
Power-Up Delay 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
TSTOP OR PAUSE
Stop or Pause Record or Play 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate) 32 40 48 64 msec msec msec msec
- 62 -
ISD5216
Symbol
Parameters
Min (2)
Typ (1)
Max (2)
Units
Conditions
[9] [9] [9] [9]
TRAC
RAC Clock Period 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate) 256 320 386 512 8 10 12.1 16 in 500 625 750 1000 msec msec msec msec msec msec msec msec msec msec msec msec
TRACLO
RAC Clock Low Time 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
TRACM
RAC Clock Period Message Cueing Mode 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
TRACML
RAC Clock Low Time in Message Cueing Mode 8.0 kHz (sample rate) 6.4 kHz (sample rate) 5.3 kHz (sample rate) 4.0 kHz (sample rate)
15.6 19.5 23.4 31.2 1 1 2 2
msec msec msec msec % % @1 KHz at 0TLP, sample rate = 5.3 KHz
THD
Total Harmonic Distortion AUX IN to ARRAY, ARRAY to SPKR
- 63 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
ANALOG PARAMETERS MICROPHONE INPUT [14] Min (2) Typ( 1)(14)
208
Symbol
VMIC+/VMIC (0TLP)
Parameters
MIC +/- Input Voltage MIC +/- input reference transmission level point (0TLP) MIC +/- Gain Tracking Microphone input resistance Microphone AGC Amplifier Range Microphone Bias Voltage MICBS Output Resistance
Max (2)
300
Units
mV mV
Conditions
Peak-to-Peak [4][8] Peak-to-Peak [4][10]
AMIC (GT) RMIC AAGC VMICBS RMICBS
+/-0.1 10 6 2.2 700 40
dB k dB V
1 kHz, +3 to -40 dB 0TLP Input MIC- and MIC+ pins Over 3-300 mV Range IMICBS = 0.0 mA
AUX IN [14]
Symbol
VAUX IN VAUX IN (0TLP) AAUX IN (GA) AAUX IN (GT) RAUX IN
Parameters
AUX IN Input Voltage AUX IN Voltage (0TLP) Input
Min (2)
(1)(14)
Typ
Max (2)
1.0
Units
V mV
Conditions
Peak-to-Peak gain setting) Peak-to-Peak gain setting)
[11]
(0 (0
dB dB
694.2 -0.5 +/-0.1 10 to 100 +0.5
AUX IN Gain Accuracy AUX IN Gain Tracking AUX IN Input Resistance
dB dB k
1000 Hz, +3 to -45 dB 0TLP Input, 0 dB setting Depending on AUX IN Gain
- 64 -
ISD5216
SPEAKER OUTPUTS [14]
Symbol
VSPHG
Parameters
SP+/- Output Voltage (High Gain Setting) SP+/- Output (Low Gain) SP+/- Output (High Gain) Load Load Imp. Imp.
Min [2]
Typ [1][14]
Max [2]
3.6
Units
V
Conditions
Peak-to-Peak, differential load = 150, OPA1, OPA0 = 01 OPA1, OPA0 = 10 OPA1, OPA0 = 01
RSPLG RSPHG CSP VSPAG VSPDCO PSRR
8 70 150 100 1.2 +/-100 -55
pF VDC mV DC dB
SP+/- Output Load Cap. SP+/- Output Bias Voltage (Analog Ground) Speaker Output DC Offset Power Ratio Supply Rejection
With CODEC D/A IN to Speaker. Measured with a 1 kHz, 100 map sine wave input at VCC and VCC pins With 0TLP input to AUX IN, 6 dB setting (12) Differential load at 8
FR POUTLG
Frequency Response (3003400 Hz) Power Output (Low Gain Setting)
-0.25 23.5
+0.25
dB mW RMS
AUX OUT [14]
Symbol
VAUX OUT RL CL VBIAS
Parameters
AUX OUT - Maximum Output Swing Minimum Load Impedance Maximum Capacitance AUX OUT Load
Min [2]
Typ [1][14]
Max [2]
1.0
Units
V K
Conditions
5k Load
5 100 1.2
pF VDC
- 65 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
VOLUME CONTROL [14] Min [2] Typ [1][14]
-28 to 0 -0.5 +0.5
Symbol
AOUT
Parameters
Output Gain Absolute Gain
Max [2]
Units
dB dB
Conditions
8 steps of 4 dB, referenced to output AUX IN 1.0 kHz 0TLP, 6 dB gain setting measured differentially at SP+/-
[1] Typical values: TA = 25C and Vcc = 3.0V. [2] All min/max limits are guaranteed by Winbond via electrical testing or characterization. Not
all specifications are 100 percent tested.
[3] Low-frequency cut off depends upon the value of external capacitors (see Pin
Descriptions).
[4] Differential input mode. Nominal differential input is 208 mV p-p. (0TLP) [5] Sampling frequency can vary as much as -6/+4 percent over the industrial temperature
and voltage ranges. For greater stability, an external clock can be utilized (see Pin Descriptions).
[6] Playback and Record Duration can vary as much as -6/+4 percent over the industrial
temperature and voltage ranges. For greater stability, an external clock can be utilized (see Pin Descriptions).
[7] Filter specification applies to the low pass filter. [8] For optimal signal quality, this maximum limit is recommended. [9] When a record command is sent, TRAC = TRAC + TRACLO on the first page addressed. [10] The maximum signal level at any input is defined as 3.17 dB higher than the reference
transmission level point. (0TLP) This is the point where signal clipping may begin.
[11] Measured at 0TLP point for each gain setting. See AUX IN table. [12] 0TLP is the reference test level through inputs and outputs. See AUX IN table. [13] Referenced to 0TLP input at 1 kHz, measured over 300 to 3,400 Hz bandwidth. [14] For die, only typical values are applicable.
- 66 -
ISD5216
11. TYPICAL APPLICATION CIRCUIT
APPLICATIONS
The ISD5216 is a single chip solution for voice and analog storage that also includes the capability to store digital information in the memory array. The array may be divided between analog and digital storage, as the user chooses, when configuring the device. Looking at the block diagram on the following page, one can see that the ISD5216 may be very easily designed into a cellular phone. Placing the device between the microphone and the existing baseband chip takes care of the transmit path. The SDI/SDIO of the baseband chip is connected to the SDIO/SDI of the ISD5216. Two pins are needed for the I2C digital control and digital information for storage.
INT SCL SDA
Starting at the MICROPHONE inputs, the input signal at the MICROPHONE inputs can be routed in the following ways:
* * * *
directly through the Voice band CODEC of the ISD5216 chip, then through the SDIO pin, to output the digital PCM signal. through the AGC amplifier, before it is routed to the voice band CODEC. through the AGC amplifier to the storage array through the AGC amplifier and mixed with an analog voice band CODEC signal coming from the digital SDI pin
In addition, if the phone is inserted into a "hands-free" car kit, then the signal from the pickup microphone in the car can be passed through to the same places from the AUX IN pin and the phone's microphone is switched off. In this scenario, the other party's voice from the phone would be played into the PCM IN input and passed through to the AUX OUT pin that would drive the car kit's loudspeaker.
Publication Release Date: Jan. 31, 2006 Revision B.4
- 67 -
ISD5216
Depending upon whether one desires recording one side (simplex) or both sides (duplex) of a conversation, the various paths will also be switched through to the low pass filter (for antialiasing) and into the storage array. Later, the cell phone owner can play back the messages from the array. When this happens, the Array Output MUX is connected to the volume control, through the Output MUX, to the Speaker Amplifier. For applications other than a cell phone, the audio paths can be switched into many different and flexible configurations. Some examples follow.
TRANSFORMER APPLICATION
To Microcontroller I C interface and Address setting .1F
2
Vcc
.1F
1 2 3 4 5 6 7 8 9 10 11 12 13 14
VCCD SCL A1 SDA A0 VSSD VSSD
VCCD MCLK INT RAC SDI
28 27 26 25 4.7K 4.7K 13.824 MHz Vcc Vcc PCM OUT PCM IN 8 KHz 2.048 MHz TO AUXILIARY INPUT .1F .1F
1.5k .1F
SDIO 24 VSSA
Electret Microphone WM-54B Panasonic .1F 1.5k
23 22 ISD5216 VSSA WS 21 MIC+ SCK 20 MICNC 19 18 MICBS AUX OUT ACAP AUX IN 17 16 VCCA SP15
VSSA SP+
1F
600
PDIP
N=1
TIP
N=1
RING
600
- 68 -
ISD5216
HANDSET APPLICATION
To Microcontroller I C interface and Address setting .1F .1F
2
Vcc
1.5k .1F
1 2 3 4 5 6 7 8 9 10 11 12 13 14
VCCD SCL A1 SDA A0 VSSD VSSD VSSA MIC+ MICMICBS ACAP SP VSSA
VCCD
28 4.7K 4.7K 13.824 MHz Vcc Vcc PCM OUT PCM IN 8 KHz 2.048 MHz TO RINGER AUXILIARY INPUT .1F
MCLK 27
INT 26 RAC 25 SDIO 24 23 SDI
ISD5216
VSSA
Electret Microphone WM-54B Panasonic .1F 1.5k .1F
22 21 WS 20 SCK 19
NC
AUX OUT 18 AUX IN
17 VCCA 16 SP+ 15
PDIP
RECEIVE
- 69 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
12. PACKAGE SPECIFICATIONG
12.1. PLASTIC THIN SMALL OUTLINE PACKAGE (TSOP) TYPE E DIMENSIONS
A A B B
1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14
G G
28 28 27 27 26 26 25 25 24 24 23 23 22 22 21 21 20 20 19 19 18 18 17 17 16 16 15 15
F F C C
E E D H H I J J
PLASTIC THIN SMALL OUTLINE PACKAGE (TSOP) TYPE E DIMENSIONS
INCHES Min A B C D E F G H I J 0.037 0 0.020 0.004
0
MILLIMETERS Max 0.535 0.469 0.319 0.006 0.011 0.041 6 0.028 0.008
0
Nom 0.528 0.465 0.315 0.009 0.0217 0.039 3 0.022
0
Min 13.20 11.70 7.90 0.05 0.17 0.95 0 0.50 0.10
0
Nom 13.40 11.80 8.00 0.22 0.55 1.00 3 0.55
0
Max 13.60 11.90 8.10 0.15 0.27 1.05 6 0.70 0.21
0
0.520 0.461 0.311 0.002 0.007
Note:
Lead coplanarity to be within 0.004 inches.
- 70 -
ISD5216
12.2. PLASTIC SMALL OUTLINE INTEGRATED CIRCUIT (SOIC) DIMENSIONS
28 27 26 25 24 23 22 21 20 19 18 17 16 15
1
2345
6 7 8 9 10 11 12 13 14
A
G C
B D E
F
H
Plastic Small Outline Integrated Circuit (SOIC) Dimensions INCHES Min A B C D E F G H Note: 0.400 0.024 0.701 0.097 0.292 0.005 0.014 Nom 0.706 0.101 0.296 0.009 0.016 0.050 0.406 0.032 0.410 0.040 10.16 0.61 Max 0.711 0.104 0.299 0.0115 0.019 Min 17.81 2.46 7.42 0.127 0.35 MILLIMETERS Nom 17.93 2.56 7.52 0.22 0.41 1.27 10.31 0.81 10.41 1.02 Max 18.06 2.64 7.59 0.29 0.48
Lead coplanarity to be within 0.004 inches.
- 71 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
12.3. PLASTIC DUAL INLINE PACKAGE (PDIP) DIMENSIONS
Plastic Dual Inline Package (PDIP) (P) Dimensions
INCHES Min 1.445 Nom 1.450 0.150 0.070 Max 1.455 Min 36.70 MILLIMETERS Nom 36.83 3.81 1.78 Max 36.96
A B1 B2 C1 C2 D D1 E F G H J S 0
0.065 0.600 0.530 0.015 0.125 0.015 0.055 0.008 0.070 0
0.540
0.075 0.625 0.550 0.19 0.135 0.022 0.065 0.012 0.080 15
1.65 15.24 13.46 0.38 3.18 0.38 1.40 0.20 1.78 0
13.72
1.91 15.88 13.97 4.83 3.43 0.56 1.65 0.30 2.03 15
0.018 0.060 0.100 0.010 0.075
0.46 1.52 2.54 0.25 1.91
- 72 -
ISD5216
13. ORDERING INFORMATION
Winbond Ordering Number Description
I5216 x x x
Product Family
ISD5216 Product (8- to 16-minute durations) Special Temperature Field: Blank I = = Commercial Packaged (0C to +70C) Industrial (-40C to +85C)
Package Option: Y
Package Type: E S P = = = 28-Lead 8x13.4mm Plastic Thin Small Outline Package (TSOP) Type 1 28-Lead 0.300-Inch Plastic Small Outline Package (SOIC) 28-Lead 0.600-Inch Plastic Dual Inline Package (PDIP)
= Lead-free
Blank = Leaded
When ordering, please refer to the above valid part number. Contact the local Winbond Sales Representative or Distributor for availability information.
For the latest product information, access Winbond's worldwide website at http://www.winbondusa.com
- 73 -
Publication Release Date: Jan. 31, 2006 Revision B.4
ISD5216
14. VERSION HISTORY
VERSION DATE DESCRIPTION
A1 B.1 B.2 B.3 B.4
Nov. 2001 Aug. 2002 Jun. 2003 Apr. 2005 Jan. 2006
Initial issue Overall updates, not available in die form Update cover page Replace all I5216 by ISD5216 Revise disclaim section Ordering information: add Pb-free option
- 74 -
ISD5216
Winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Furthermore, Winbond products are not intended for applications wherein failure of Winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. Winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any damages resulting from such improper use or sales. The contents of this document are provided only as a guide for the applications of Winbond products. Winbond makes no representation or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to discontinue or make changes to specifications and product descriptions at any time without notice. No license, whether express or implied, to any intellectual property or other right of Winbond or others is granted by this publication. Except as set forth in Winbond's Standard Terms and Conditions of Sale, Winbond assumes no liability whatsoever and disclaims any express or implied warranty of merchantability, fitness for a particular purpose or infringement of any Intellectual property. The contents of this document are provided "AS IS", and Winbond assumes no liability whatsoever and disclaims any express or implied warranty of merchantability, fitness for a particular purpose or infringement of any Intellectual property. In no event, shall Winbond be liable for any damages whatsoever (including, without limitation, damages for loss of profits, business interruption, loss of information) arising out of the use of or inability to use the contents of this documents, even if Winbond has been advised of the possibility of such damages. Application examples and alternative uses of any integrated circuit contained in this publication are for illustration only and Winbond makes no representation or warranty that such applications shall be suitable for the use specified. The 100-year retention and 100K record cycle projections are based upon accelerated reliability tests, as published in the Winbond Reliability Report, and are neither warranted nor guaranteed by Winbond. This product incorporates SuperFlash(R). Information contained in this ISD(R) ChipCorder(R) datasheet supersedes all data for the ISD ChipCorder products published by ISD(R) prior to August, 1998. This datasheet and any future addendum to this datasheet is(are) the complete and controlling ISD(R) ChipCorder(R) product specifications. In the event any inconsistencies exist between the information in this and other product documentation, or in the event that other product documentation contains information in addition to the information in this, the information contained herein supersedes and governs such other information in its entirety. This datasheet is subject to change without notice. Copyright(c) 2005, Winbond Electronics Corporation. All rights reserved. ChipCorder(R) and ISD(R) are trademarks of Winbond Electronics Corporation. SuperFlash(R) is the trademark of Silicon Storage Technology, Inc. All other trademarks are properties of their respective owners.
- 75 -
Publication Release Date: Jan. 31, 2006 Revision B.4


▲Up To Search▲   

 
Price & Availability of ISD5216SY

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X